how to export specific date format to text file

G

Guest

Hi,
I am trying to change the date format in a table (current format:mm/dd/yyyy)
to a format required by a vendor (new format: dd-mmm-yy) when exporting this
data to a comma delimited text file.

While I can change the format for display, I can not have this correct
format show up on the comma delimted text file exported from Access.

thx
-ed
 
N

Nikos Yannacopoulos

Ed,

Make a simple select query on the table, and instead of the original
date field use a calculated one like:
MyDate: Format([DateField],"dd-mmm-yy")
where DateField is the name of the datefield in the table.
Then export the query instead of the original table, and you'll get what
you want.

HTH,
Nikos
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top