The following table lists events by category and describes when each type of event occurs.
Table 6 Events
Category | Event | Occurs when |
Data | AfterDelConfirm, AfterInsert, AfterUpdate, BeforeDelConfirm, BeforeInsert, BeforeUpdate, Change, Current, Delete, NotInList, Updated | Changes to records and occur. |
Error | Error | Microsoft Access produces error. |
Filter | ApplyFilter, Filter | A filter is created or applied. |
Focus | Activate, Deactivate, Enter, Exit, GotFocus, LostFocus | Objects receive or lose the or become active or . |
Keyboard | KeyDown, KeyPress, KeyUp | A user types on the , or keys are sent the SendKeys statement. |
Mouse | Click, DblClick, MouseDown, MouseMove, MouseUp | A mouse action, such as a or double-click, occurs. |
Table 6 Events (continued)
Category | Event | Occurs when |
Format, NoData, Page, Print, Retreat | A report is being printed orbeing formatted for . | |
Timing | Timer | A specified time interval . |
Window | Close, Load, Open, Resize, Unload | A user carries out an action a form or report. |