CHAPTER 5

Working with Objects and Collections

A Microsoft Access database is made up of different kinds of objects. Some kinds of objects are used to display the data in your database, while others are used to store and manage the data itself, or to assist you in programming in Visual Basic. You can create a database using tables, queries, forms, reports, and macros without writing any Visual Basic code. If your needs are more sophisticated, however, you can use Visual Basic to create, control, and manage all of the different types of objects in a Microsoft Access database. This chapter explains how to program with objects in Visual Basic.