Object data type
A fundamental data type representing any object that can be recognized by Visual Basic. The Object data type is generic; you can declare any object variable as type Object. For better performance, however, you should declare object variables according to their specific type. For example, use a variable of type Form to represent a form rather than a variable of type Object.
There are three categories of the Object data type: Microsoft Access object types, ADO object types, and DAO object types.
| Microsoft Access object types |
| Application |
Form |
Screen |
| Control |
Module |
|
| DataAccessPage |
Report |
|
| ADO object types |
| Command |
Field |
Recordset |
| Connection |
Parameter |
|
| Error |
Property |
|
| DAO object types |
| Connection |
Error |
Property |
User |
| Container |
Field |
QueryDef |
Workspace |
| Database |
Group |
Recordset |
|
| DBEngine |
Index |
Relation |
|
| Document |
Parameter |
TableDef |
|