Names of all objects

K

KarenH

We are trying to right a small utility that will return a list of all objects
in a database -- queries, tables, forms, reports, macros, modules.

In application.Currentproject, I can get to "AllReports", "AllForms",
AllMacros", "AllModules", but there is no option for tables of queries.

Is there another way I can do this? Thanks.
 
D

Dirk Goldgar

In
KarenH said:
We are trying to right a small utility that will return a list of all
objects in a database -- queries, tables, forms, reports, macros,
modules.

In application.Currentproject, I can get to "AllReports", "AllForms",
AllMacros", "AllModules", but there is no option for tables of
queries.

Is there another way I can do this? Thanks.

In addition to the approach Klatuu suggested, you can go to the
CurrentData object, instead of CurrentProject, for AllTables and
AllQueries.
 
A

Albert D. Kallal

KarenH said:
We are trying to right a small utility that will return a list of all
objects
in a database -- queries, tables, forms, reports, macros, modules.

You *are* aware that the documenter will printout all this stuff for
you...right?

tools->analyze->documetor
 

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