Hey guys,
I'm trying to export a query to a .csv file.
This works fine when i use the wizard to do so but i want to automate it.
But when i use code below the export is as .csv but it looks like a plain excel sheet. I need it to be with the comma delimiter.
Im using the export specifications of the wizard (KrpExportspecificatie) as shown below but it looks like access doenst remember what to do.
Code:
DoCmd.TransferText acExportDelim, krpExportspecificatie, "qryCSV", "C:\Mylocation\Applications\FOL\KRP\" & Format(Date, "DD-MM-YYYY") & " KRP.csv", False
Any clues or hint as to where im going wrong ?