Hello. I have a subroutine that exports the tabular results of a query to a csv file using..
Very straight forward but it truncates the invoice date column clipping of the right most digit. ie what should read in the outputted file...
,"3/1/2017",
ends up as
,"3/1/201",
Running the query in access looks just fine.
I've added a CDate(dteField) to force it to be treated as a date but get the same result (notably still in ""s ). The source query is in aggregate with the date field as a groupby. Not sure if that has anything to do with it.
Seems like a bug in the TransferText command. At a loss.
Code:
DoCmd.TransferText acExportDelim, , sQry, sPath, True
Very straight forward but it truncates the invoice date column clipping of the right most digit. ie what should read in the outputted file...
,"3/1/2017",
ends up as
,"3/1/201",
Running the query in access looks just fine.
I've added a CDate(dteField) to force it to be treated as a date but get the same result (notably still in ""s ). The source query is in aggregate with the date field as a groupby. Not sure if that has anything to do with it.
Seems like a bug in the TransferText command. At a loss.
