To add code that applies to a specific form:
1 Select the form on the Form tab of the Project Manager.
2 Click Modify to open the form and its Attributes form.
3 Click the form body, then click Edit Code on the Form tab.
Shortcut
Double-click the form body.
4 Choose the event procedure that you want to program at "Event".
5 Update the code as required.
6 Press Tab to save your changes before closing the code window.
|