See Also Example Properties Methods Specifics Summary
A Document object includes information about one instance of an object. The object can be a database, saved table, query, or relationship (Microsoft Jet databases only).
Remarks
Each Container object has a Documents collection containing Document objects that describe instances of built-in objects of the type specified by the Container. The following table lists the type of object each Document describes, the name of its Container object, and what type of information Document contains.
Document | Container | Contains information about |
Database | Databases | Saved database |
Table or query | Tables | Saved table or query |
Relationship | Relations | Saved relationship |
Note Don't confuse the Container objects listed in the preceding table with the collections of the same name. The Databases Container object refers to all saved database objects, but the Databases collection refers only to database objects that are open in a particular workspace.
With a Document object, you can:
Because a Document object corresponds to an existing object, you can't create new Document objects or delete existing ones. To refer to a Document object in a collection by its ordinal number or by its Name property setting, use any of the following syntax forms:
Documents(0)
Documents("name")
Documents![name]