Hi all
I am looking to drop data into a table for export to a csv file for example see below.
DoCmd.RunSQL "SELECT Temp11.RowNum As RowNum, " &_
"Replace(Temp11.studEnrolment1,',','') AS studEnrolment1 " &_
" INTO Tempory FROM Temp11"
I am wanting to put "" marks around the string data to meet a requirment in the csv file i have played around with chr(34) and a few other ideas with no luck. can anybody either help me to put quotes around the field data in this step or perhaps there is a way in the final export to csv to put all the fields in quotes
ie set the delimiter to {","} rather then simply ,
DoCmd.TransferText acExportDelim, , "Tempory", strDBPath, True