In
spdragon said:
I took my table that has the data and created a query from that
table. I used Datedone: Format([DateCompleted],"mm/dd/yyyy") for
my date. I then exported the query to a text file and set up my
fixed width columns creating a date column size of 10 ( using four
digit years and leading zeroes in dates). The dates still come out
looking like 04/12/2007 0 00 00
That's odd. You're formatting the date in a way that can't return
anything but month, day, and year (with separators). Is it possible the
"0 00 00" comes from the next field in your query? Did you export the
DateCompleted field twice, once formattted to text, once not? I'm
assuming that DateCompleted is really a date/time field, not a text
field that happens to be holding a date/time string. The calculated
field Datedone is not a date field at all, but rather a text field, so
the date attributes shouldn't even apply to it.
Would you care to post the complete SQL of the query you're exporting?
And then, if possible, describe step by step exactly what procedure you
follow to export the query. I can't see how you're getting the result
you report.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
SELECT NapisADLIADLT.CountyCode, NapisADLIADLT.SSN, NapisADLIADLT.Type, NapisADLIADLT.Status, NapisADLIADLT.Met, NapisADLIADLT.Formal, NapisADLIADLT.Informal, Format([DateCompleted],"mm/dd/yyyy") AS Datedone