USING COLLECTIONS
As mentioned earlier, every form in your application usually has a number of controls. To reference a control, you first have to reference the form. Because a form can consist of many controls, these related controls are grouped together in a collection object.
Collections are a special type of property that consists of related objects. For example, your database consists of a collection of tables, and each table has a collection of fields and indexes. There are now two data access methods for accessing these collections: Data Access Objects (DAO) and ActiveX Data Objects (ADO). These will be discussed in Chapter 5, “Working with Data Access Objects,” and Chapter 6, “Introducing ActiveX Data Objects.”
Collections are object-valued ...
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