Export FieldNames From Query

RainX

Registered User.
Local time
Today, 12:51
Joined
Sep 22, 2006
Messages
89
Hi all,

I'm trying to export a query into a text tab delimited file by using

DoCmd.TransferText acExportDelim, "ImportSpecx", stDocName, File_Path, Yes
I've also tried
DoCmd.TransferText acExportDelim, "ImportSpecx", stDocName, File_Path, True

But none of these export the Query Field Names. Is there any way i can get the Field Names in the exported file?

Thanks in advance
 
My guess is that you have not checked "Include Field Names on First Row" in your "ImportSpecX" specification.

I'd check that first.

Regards,
Pete.
 

Users who are viewing this thread

Back
Top Bottom