You can use the Object Browser to view and navigate among the objects available in Microsoft Access and other applications that support Microsoft Visual Basic, as well as the methods and properties of each object. When you locate a method or property in the Object Browser, you can paste it into the active module.
Locate a method or property
View Help on a class, method, event, or property
Select the class, method, event, or property and click Help
in the Object
Browser.
View objects in the Microsoft Office XP Object Library
Paste a method or property syntax into a module
Microsoft Access pastes the method or property syntax into the module.
Note After pasting syntax for Sub procedures, you need to remove any parentheses surrounding placeholders in the syntax.
Display relevant objects, properties, and methods in the Microsoft Visual Basic Editor
You can get assistance while you're writing Visual Basic code. When you type the name of an object, followed by a space or opening parenthesis, Microsoft Access displays a list of relevant objects, properties, and methods that could follow the object name.
Open any module in the Microsoft Visual Basic Editor.
On the Tools menu, select Options, click the Editor tab, and then select the Auto List Members check box. There are several keys you can use to enter an item from the list into the current line of code.
Key | Effect |
---|---|
TAB | Enters the item |
SPACEBAR | Enters the item followed by a space |
ENTER | Enters the item and moves the cursor to the next line |