I have this line of code to export data to csv:
Code:DoCmd.TransferText acExportDelim, "XYZ", qdf.Name, sFileName
and I get an error on this line saying "The Mictosoft Acess database engine could not find the object "myFileName.csv". Make sure the object exists and that spell its name and path correctly."
I am beginning to wonder, for this to work, do you need to already have a saved version of the file? I thought the above method will create a new file with that filename saved in that location.