dgoulston
Hasn't Got A Clue
- Local time
- Today, 06:46
- Joined
- Jun 10, 2002
- Messages
- 403
Is there any code that can output a query as CSV (delimited) where varibles are seperated by comma's and words are in "quotes"
this code i got here outputs the file but the output file is in the format "fixed width" but i need it in delimited format..
>DoCmd.OutputTo acOutputReport, "rptAllDiv2", >acFormatTXT, "D:\Temp\rAllDiv2.CSV", False
because i can do it in that format through
file -> save as/export ->
and do it that way, but is there some code to add to what is above to get it to do it? i believe you can add to the end of ur code a file which contains the way it should be laid out but i cant find where that would be located on my system
thanx for any help you can provide.
Darren Goulston
this code i got here outputs the file but the output file is in the format "fixed width" but i need it in delimited format..
>DoCmd.OutputTo acOutputReport, "rptAllDiv2", >acFormatTXT, "D:\Temp\rAllDiv2.CSV", False
because i can do it in that format through
file -> save as/export ->
and do it that way, but is there some code to add to what is above to get it to do it? i believe you can add to the end of ur code a file which contains the way it should be laid out but i cant find where that would be located on my system
thanx for any help you can provide.
Darren Goulston