Quick summary
Event procedures in MS Access let you run VBA code automatically when a user interacts with a form or report. You can create and attach event procedures directly from the Property Sheet in Design View without writing code from scratch.
Steps
- Open your database in Microsoft Access.
- Go to the Forms or Reports section in the Navigation Pane, right-click the form or report, and choose Design View.
- Click the Property Sheet button in the ribbon to open the property panel.
- In the Property Sheet, navigate to the Event tab.
- Find the event you want to use and click the ellipsis icon to create an event procedure.
- In the VBA editor, write your event procedure code and save the module.
- Click the save icon to save all changes to your form or report.
.gif)



