REFERENCING THE TYPE LIBRARIES
Before seeing how to use these collections and objects, you need to know how to reference the object model libraries for use. The object models are found in type libraries in the file system. A type library contains the information about the object models such as the collections, properties, and methods. Referencing the type libraries isn't too hard a task, but is still very important.
The first type library, ActiveX Data Objects 2.1, is referenced by default for new databases. The others have to be added as needed. To reference the other two object models, choose References from the VBE's Tools menu. You then have to find the type libraries for the object models and select them. The type library names are as follows: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access