Chapter 8. Object and Event-Driven Coding

IN THIS CHAPTER

Understanding Objects 101

Invoking Methods 105

Using Collections 105

Working with an Object Model 106

Creating Objects 110

Working with Events 113

Understanding Objects

An object within Access is anything that has properties that can be manipulated. Because Access is, at least partially, an object-oriented development platform, almost everything you use within Access is an object. From a field in a table, to a form, to a control on a report, to a query and everything in between. These are all objects, and much of Access design is manipulating the properties of those objects. You can set the properties directly through the Property dialog box. (Figure 8.1 shows the property sheet for a ...

Get Microsoft® Office Access 2007 VBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.