0% found this document useful (0 votes)
47 views1 page

Understanding DAO Container Objects in Access

Container objects group similar types of document objects together, with each database containing built-in container objects like Databases, Tables, and Relations. Each container has a documents collection containing document objects that describe instances of the type specified by the container. Container objects provide an intermediate link to document information and can set security for all document objects of a given type.

Uploaded by

kamlesh0106
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views1 page

Understanding DAO Container Objects in Access

Container objects group similar types of document objects together, with each database containing built-in container objects like Databases, Tables, and Relations. Each container has a documents collection containing document objects that describe instances of the type specified by the container. Container objects provide an intermediate link to document information and can set security for all document objects of a given type.

Uploaded by

kamlesh0106
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Container object (DAO)

1/17/2019 • 2 minutes to read • Edit Online

Applies to : Access 2013, Office 2013


A Container object groups similar types of Document objects together.

Remarks
Each Database object has a Containers collection consisting of built-in Container objects. Applications can
define their own document types and corresponding containers (Microsoft Access database engine databases
only); however, these objects may not always be supported through DAO.
Some of these Container objects are defined by the Microsoft Access database engine while others may be
defined by other applications. The following table lists the name of each Container object defined by the
Microsoft Access database engine and what type of information it contains.

C O N TA IN ER N A M E C O N TA IN S IN F O RM AT IO N A B O UT

Databases Saved databases

Tables Saved tables and queries

Relations Saved relationships

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.

Each Container object has a Documents collection containing Document objects that describe instances of
built-in objects of the type specified by the Container . You typically use a Container object as an intermediate
link to the information in the Document object. You can also use the Containers collection to set security for all
Document objects of a given type.
With an existing Container object, you can:
Use the Name property to return the predefined name of the Container object.
Use the Owner property to set or return the owner of the Container object. To set the Owner property,
you must have write permission for the Container object, and you must set the property to the name of an
existing User or Group object.
Use the Permissions and UserName properties to set access permissions for the Container object; any
Document object created in the Documents collection of a Container object inherits these access
permission settings.
Because Container objects are built-in, you can't create new Container objects or delete existing ones.

You might also like