To add code that applies to a specific field on a 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 Select the field, then click Edit Code on the Field tab.
Shortcut
Double-click the field.
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.
Note
You can program additional event procedures for this field and program additional fields at "Object".
|