Create an event procedure for a command button on a data access page

Create an event procedure for a command button on a data access page

  1. In data access page Design view, right-click the command button.

  2. On the shortcut menu, click Microsoft Script Editor.

  3. In the Script Outline window, double-click the command button.

  4. Double-click the OnClick event.