ACC: How to Reference Classes That Exist in Multiple Libraries (163657)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q163657 Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
If your Microsoft Access database contains a reference to multiple library
databases, type libraries, or object libraries, it is possible for the same
class name to exist in more than one referenced file. If you want to
declare a variable of that type, you must explicitly state which reference
contains the class that you want to use. This article shows you how to
specify a particular reference file in code.
This article assumes that you are familiar with Visual Basic for
Applications and with creating Microsoft Access applications using the
programming tools provided with Microsoft Access. For more information
about Visual Basic for Applications, please refer to your version of the
"Building Applications with Microsoft Access" manual.
REFERENCES
For more information about setting references in a Microsoft Access
database, search the Help Index for "setting references."
For more information about using the Object Browser, search the Help Index
for "Object Browser."
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kbhowto kbProgramming KB163657 |
---|
|