Creates and launches a page that you specify. You can useto remove the page.
After you define this variable, you can run the following page functions:
The variable is automatically cleared after this function is executed.
If the page you specify does not exist, you receive a compile error.
If, at design time, you know the specific page that you want to run, use this function or the.
If you do not know the page that you want to run, use theor the .
After you define the page variable, you can use it before you run the page. If you use the, you can use the variable before and after you run the page.
This example shows how to use the RUN function. Assume the variable MyPage has been defined as Page 1.
MyPage.XXX; // any user-defined function MyPage.SETTABLEVIEW(MyRecord); MyPage.SETRECORD(MyRecord); MyPage.RUN;