Create an event procedure for a command button on a data access page
- In data access page Design view, right-click the command button.
- On the shortcut menu, click Microsoft Script Editor.
- In the Script Outline window, double-click the command button.
- Double-click the OnClick event.