Making the command button work

To make the button do something when it is clicked when you run a form, you associate an action with it. Each form style has its own set of actions you can choose from for a button.

StepsTo associate an action with a button:

  1. Move the pointer to the button you added to the form, display the pop-up menu, and select Action.

    The Select Action dialog box displays the actions that are provided with the form style you are using:

    The sample shows the Select Action dialog box. AT top is the text "Select an action from the list below and provide parameters as required," then a scrollable display labeled Actions with entries such as Cancel _ Updates, Clear _ Filter, and Apply _ Criteria, which is highlighted.
  2. Select the action from the list.

  3. If the action takes parameters, click the Parameters button and supply the parameters.

  4. Click OK.

    You return to the Form painter Layout view.

For information about the actions provided with the built-in form styles, see “Actions in forms”. If you need information about actions provided by a style defined in your organization, talk with the style’s developer.