Access objects within a 2nd database

MSAccessUser

Registered User.
Local time
Yesterday, 22:29
Joined
Aug 17, 2005
Messages
21
Any ideas on how I can get a list of the names of the queries and tables within a different database?

For example, from db1 I want to get a list of the names of the queries and tables within db2.

Thanks!
 
Here's a starting point:
MSysObjects
(Container for all system objects...tables, queries, forms, etc...)
 
I'm sorry I couldn't take advantage of your hint. Can you please elaborate?

I was able to do it for the tables and queries by setting a reference by using the OpenDatabase command and the TableDefs.Name and QueryDefs.Name but can't do it for the forms and the reports.

Can you show me how I can use MSysObjects to access the names for the forms and reports?

Thanks
 

Users who are viewing this thread

Back
Top Bottom