Document Objects

The Document object represents a specific object in the Documents collection. As noted in the preceding section, Microsoft Access uses the Containers collection to organize its own objects. The Document object stores a specific instance of an application-specific object. For example, when Microsoft Access creates a database, it creates a variety of Container objects, one each to store forms, reports, macros, and modules. As the Microsoft Access user creates forms, the forms are stored as individual Document objects in the forms Container object that is added to the database by Microsoft Access. You can set security to control access to a document.