Creates and launches a form that you specify. You can use the CLEAR Function to remove the form. Use this function or the RUNMODAL Function (Form) function if you know at design time the exact form you want to run. Otherwise, use the FORM.RUNMODAL Function (Form) or the FORM.RUN Function (Form).

Form.RUN

Parameters

Form

Type: Form

After you define this variable, you can run the following form functions:

  • SETTABLEVIEW

  • SETRECORD

  • GETRECORD

  • RUN

  • RUNMODAL

The variable is automatically cleared after this function runs.

If the form you specify does not exist, a compile error occurs.

Expand imageRemarks

Expand imageExample

Expand imageSee Also