Export query to .csv - losing headers

K

Kathy

I'm using the following to export query results to a .csv
file:
DoCmd.TransferText
acExportDelim, "EqtExportSpec", "qryExportCSV", "C:\MyFile.
csv", True

It works fine for me, but when I send it to the user,
their .csv file gets created without the header. What
have I done wrong?

Thanks,
Kathy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top