you (aparently) missed the collections. Each type of object in Ms. Access is a member of a collection (Forms, modules, etc). the queries and tables are a little mixed up, but since you are into forms, this doesn't matter. You can open any of these collections and itterate through them to retrieve their names and many of the properties.
Alternatively, there is a set of TABLES "MSys*", oe of them (MSysObjects) which includes all objects in the database, whith some arcane and obscure information embeded in strange codes held in various fields.
Fortunatly, two of the fields (Name and Type) are reasonably comprehensible. The query below will list all of hte objects, using these two fields.
SELECT MSysObjects.Name, MSysObjects.Type
FROM MSysObjects;
This produces the following "list" on my system - using a "Junque" database. By inspection, you should be able to determine that the Forms are of "type" -32768, so to get the list of JUST forms, include this value in the criteria row of yuour query.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.