Defining a Command Form

A command form does not perform any database functions; its function is to provide transfers to other forms. On a command form, you can paint only button, current date, or current time fields.

To define a command form

  1. On the Program Definition form, select the program to which you want to add a command form, press Define (F6), and choose Paint Program.
  2. On the Database Structure-Program Structure form, press Define (F6) and choose Command.

    The system puts the command form to the right of the task the cursor was on before you pressed Define (F6).

  3. Select the Command task, press Action (F8), and choose Paint.

    To add a button to the form, see Defining a Button Field.

    To add the current date or current time to the form, press Output (F3) and choose Current Date or Current Time.

  4. Press OK twice to save the form.
  5. Press Exit to return to the Database Structure-Program Structure form.