Creates and launches a form that you specify. You can use theto remove the form. Use this function or the function if you know at design time the exact form you want to run. Otherwise, use the or the .
After you define this variable, you can run the following form functions:
The variable is automatically cleared after this function runs.
If the form you specify does not exist, a compile error occurs.
After you define the variable Form1, you can use it before you run the form. If you use the RUNMODAL (form) function, you can use the variable before and after you run the form.
This example shows how to use the RUN function. Assume that the variable Form1 has been defined as Form 1.
Form1.XXX; // any user-defined function Form1.SETTABLEVIEW(MyRecord); Form1.SETRECORD(MyRecord); Form1.RUN;