I am exporting a recordset to a text file. One of the fields in the recordset is a date/time field formatted to Short Date. When I export the data, I get mm/dd/yyyy 0:00:00. I need to export the mm/dd/yyyy without the hours minutes and seconds.
I am producing this:
“Joe”,”Blow”,”WC”,10/25/2003 0:00:00,1
We want this:
“Joe”,”Blow”,”WC”,10/25/2003,1
At first glance, this looked fairly straight forward. I changed the date field in the query to
SomeDate: format([ReportDate],”mm/dd/yyyy”)
and ended up with “mm/dd/yyyy”. However, the recipient of this file can not have quotes around the date.
So, how can I get rid of the hours:minutes:seconds without putting quotes around the date?
Thanks,