list all tables

A

Allen Browne

Simplest to query the system table directly:

SELECT MsysObjects.Name FROM MsysObjects
WHERE (([Type] = 1) AND ([Name] Not Like "~*")
AND ([Name] Not Like "MSys*"))
ORDER BY MsysObjects.Name;

Alternatively, loop through the TableDefs collection of dbEngine(0)(0) in
DAO, or the Tables of the Catalog in ADOX (removing Views, etc.)
 

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