Technorati label: VBE, VBA
From: julitta korol, "access.2003.programming. By. example. With. VBA. xml. And. asp", by wordware Publishing, Inc. 2005, p12-p27
-
- Alt + F11 can directly access VBE
-
- To modify the properties of a Form Control in VBE, follow these steps:
- First, select the module of the form to be viewed on Project explorer.
- Click view object at the top of Project explorer.
- Switch back to VBE. Then, the Property Window is filled with various attribute values of the form.
- To view the properties of a control, you only need to select the control from the drop-down list below the title bar of the Property Window.
-
- F4: Display Properties window; F7: display code window; F2: Display Object Browser
-
- InputCodeIf the list of available attribute methods is not displayed, you can use one of the following three methods:
- CTRL + J
- Edit the list properties/methods icon on the toolbar.
- Right-click list properties/methods
-
- To display parameter information, you can use either of the following two methods:
- CTRL + Shift + I
- Edit the parameter info icon on the toolbar.
-
- To list Constants
- CTRL + Shift + J
- Edit the list constants icon on the toolbar.
-
- Quick info
- CTRL + I
- Click the quick info icon on the toolbar.
-
- Object Browser usage
- You can select a database name from the drop-down menu on the top left.
- You can right-click the search result to specify "full match"
- Object attribute methods can be arranged by group, right-click "group members"
- For access9 objects (self-edited objects), you can double-click to view the Code. For VBA and access objects, you can click the question mark to view help.
- The text in the code template can be dragged directly to the code window. The member name can be copied to the clipboard using the copy button.
- The access library is a variety of control objects; the VBA library is a variety of common functions;
-
- Immediate window
- CTRL + G
- F5 can run the current sub-process
- Ask two questions at the same time :? 3 + 2 :? 12*8