• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Understanding Objects > Working with Collections

Working with Collections

Many objects are grouped into collections. A collection is a special object that contains other objects. For example, Access maintains its own collection of open forms, and you can use this collection in VBA. Because Access maintains this collection object, you don’t need to instantiate it yourself. In this section of the chapter, you learn the basic syntax to work with collections. Collections are most useful for listing and finding instances of the objects that they contain.

Here’s the first way to list the objects in a collection:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint