O'Reilly logo

Beginning Access™ 2007 VBA by Denise Gosnell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.2. Viewing Objects Using the Object Browser

Now that you understand what objects and their respective properties, methods, and events are, let's look at another way to view objects. The Object Browser is a tool that allows you to view and manage the objects in your application. You can use the Object Browser to learn about the objects available in Access 2007 as well as objects available from almost any Windows program.

The Object Browser can be opened from the Visual Basic Editor in one of three ways: by choosing the Object Browser button on toolbar, by selecting View Object Browser, or by pressing F2. Any of these will result in a screen such as the one shown in Figure 3-15.

Notice how the Libraries drop-down list currently displays All Libraries. The values displayed in the Classes list are for the Classes of All Libraries. You can select a particular Library, such as Access, to limit the list of Classes and corresponding Class Members that are displayed (see Figure 3-16).

Figure 3.15. Figure 3-15
Figure 3.16. Figure 3-16

Notice how you can drill down into the Classes and view the properties, methods, and events available for the selected class. In the previous example, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required