Exporting field names

P

PK

I would like to export Access table field names to Excel. Only the field
names, no data. Can anyone help?
 
C

Chris O'C via AccessMonster.com

Use a query with an impossible where clause (resulting in no rows).

SELECT * INTO [TEXT;HDR=Yes;DATABASE=c:\db\].categories.csv
FROM tblcategories
WHERE false = true


Chris
Microsoft MVP
 

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