ACC97: How to Use Collections to Manage Class Objects in VBA (160012)
The information in this article applies to:
This article was previously published under Q160012 SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
This article shows you how to use collections in Visual Basic for
Applications to manage references to class objects in Microsoft Access 97.
This technique allows your class objects to persist, and enables you to
control the individual properties of those objects by using the familiar
collection syntax used in Microsoft Access for implementing Data Access
Objects (DAO) and other Microsoft Office Object models.
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 the "Building
Applications with Microsoft Access 97" manual.
REFERENCES
For more information about class modules, search the Help Index for class
modules, or ask the Microsoft Access 97 Office Assistant.
For more information about the properties and methods of the Collection
object, search the Help Index for Collection object or ask the Microsoft
Access 97 Office Assistant.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming KB160012 |
---|
|