Datasheet

Using the Visual Basic Editor
584
You can search the Object Library for information about any object, includ-
ing
DoCmd, by following these steps:
1. In the Object Browser, type the word you’re searching for in the
Search box.
In this example, type DoCmd, as shown in Figure 1-13.
2. Click the Search button.
The search results appear in the Search Results pane.
3. Click the word you searched for.
4. Click the Help (question mark) button on the Object Browser toolbar.
Figure 1-14 shows the Help window for the DoCmd object. For the absolute
beginner, even the information in the Help text may be a bit advanced.
However, as you gain experience and dig a little deeper into VBA, you’ll find
the Object Browser and Help windows useful for constructing references to
objects, properties, and methods from within your code.
Search box
Search button Show/Hide search results
Help
Search results
Figure 1-13:
Object
Browser
search
tools.
38_036494 bk08ch01.qxp 11/17/06 8:34 AM Page 584