table name question

  • Thread starter Thread starter 00KobeBrian
  • Start date Start date
Sorry. This is not what I want. I mean to say if there are 50 tables in an
access mdb and I want to have them on an excel spreadsheet, how can I export
them automatically instead of typing the 50 table names in excel
spreadsheet? Thanks.
 
Something like data dictionary.

00KobeBrian said:
Sorry. This is not what I want. I mean to say if there are 50 tables in an
access mdb and I want to have them on an excel spreadsheet, how can I
export them automatically instead of typing the 50 table names in excel
spreadsheet? Thanks.
 
You mean you want a list of the tables in your database? The easiest way is
to query the system catalog:

SELECT [Name]
FROM MSysObjects
WHERE Type In (1,4,6)
AND Left([Name], 4) <> "MSys"
ORDER BY [Name]
 
Back
Top