Get table column names from Access...

lidds

Well-known member
Joined
Nov 9, 2004
Messages
210
I am really struggling with getting the column names from a MS Access table, I have been googling for some time now and can not seem to find an example that works.

Any help would be really apreshiated

Thanks in advance

Simon
 
I forget the Access Keywords, but something like this should work for you.

Code:
SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.Columns where TABLE_NAME = <table_name>
I have not tested this; it may be SQLS only.
 
Back
Top