Edit Event dialog box
Select or create a method linked to the selected event. This dialog box lists the form, its components, and all their events.
Dialog box options
Objects
The objects on the form or report and the form or report itself
Events
The events associated with the selected object
Select an object, then an event. (Some objects don’t have any associated events.) Click OK. The selected event appears in the Source editor, where you can edit it.
When you select an event linked to an existing method and then press OK, that method becomes current, and you can edit the code in the Source editor.
When you select an event not linked to a method, a new method is created. A linked method statement is placed in the Source editor, followed by a suggested name for the procedure.
How to get there: In the Form or Report designer, choose Method|Edit Event.