Creates, runs, and closes a form object that you specify. When a form is run modally, no input (keyboard or mouse click) can occur except to objects on the modal form. If, at design time, you know the specific form that you want to run, use this function or the RUN Function (Form). If you do not know the specific form that you want to run, you can use the FORM.RUNMODAL Function (Form) or the FORM.RUN Function (Form).

[Action :=] Form.RUNMODAL

Parameters

Form

Type: Variable

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

  • SETTABLEVIEW

  • SETRECORD

  • GETRECORD

  • RUN

  • RUNMODAL

Unlike the Form.RUN function, the variable is not automatically cleared after this function runs.

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

Expand imageProperty Value/Return Value

Expand imageRemarks

Expand imageExample

Expand imageSee Also