You can use the Type property to return the value of a AccessObject object type.
Setting
The Type property returns one of the following intrinsic constants.
acDataAccessPage (6) | acQuery (1) |
acDiagram (8) | acReport (3) |
acForm (2) | acServerView (7) |
acMacro (4) | acStoredProcedure (9) |
acModule (5) | acTable (0) |
The Type property is available only by using Visual Basicand is read-only.