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: ...

Get F. Scott Barker's Microsoft® Access 2000 Power Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.