AccessObject Object [Access 2003 VBA Language Reference]
Multiple objects AccessObject AccessObjectProperties |
An AccessObject object refers to a particular Microsoft Access object within the following collections.
AllDataAccessPages |
AllDatabaseDiagrams |
AllForms |
AllFunctions |
AllMacros |
AllModules |
AllQueries |
AllReports |
AllStoredProcedures |
AllTables |
AllViews |
Using the AccessObject Object
An AccessObject object includes information about one instance of an object. The following table list the types of objects each AccessObject describes, the name of its collection, and what type of information AccessObject contains.
AccessObject | Collection | Contains information about |
---|---|---|
Data access page | AllDataAccessPages | Saved data access pages |
Database diagram | AllDatabaseDiagrams | Saved database diagrams |
Form | AllForms | Saved forms |
Function | AllFunctions | Saved functions |
Macro | AllMacros | Saved macros |
Module | AllModules | Saved modules |
Query | AllQueries | Saved queries |
Report | AllReports | Saved reports |
Stored procedure | AllStoredProcedures | Saved stored procedures |
Table | AllTables | Saved tables |
View | AllViews | Saved views |
Because an AccessObject object corresponds to an existing object, you can't create new AccessObject objects or delete existing ones. To refer to an AccessObject object in a collection by its ordinal number or by its Name property setting, use any of the following syntax forms:
AllForms(0) |
AllForms("name") |
AllForms![name] |
Properties | CurrentView Property | DateCreated Property | DateModified Property | FullName Property | IsLoaded Property | Name Property | Properties Property | Type Property
Methods | GetDependencyInfo Method | IsDependentUpon Method
Parent Objects | AllDataAccessPages Collection | AllDatabaseDiagrams Collection | AllForms Collection | AllFunctions Collection | AllMacros Collection | AllModules Collection | AllQueries Collection | AllReports Collection | AllStoredProcedures Collection | AllTables Collection | AllViews Collection | DependencyObjects Collection
Child Objects | AccessObjectProperties Object
See Also | AccessObjectProperties Collection | AllDataAccessPages Collection | AllDatabaseDiagrams Collection | AllForms Collection | AllMacros Collection | AllModules Collection | AllQueries Collection | AllReports Collection | AllStoredProcedures Collection | AllTables Collection | AllViews Collection