Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

export table without time format

Status
Not open for further replies.

MICKI0220

IS-IT--Management
Jul 20, 2004
337
0
0
US
I am trying to create an export to a .txt file of a table with a field that is the date datatype. How do I get it to export without the added time format. Where I need to import this information, has a problem with that additional format.

I am using Access 2007

Micki
 


hi,

You must CONVERT your Date/Time NUMERIC data to STRING, using the Format() function...
Code:
select ..., Format([Your Date], "yyyy/mm/dd"), ....


Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top