PAUSE

The PAUSE statement temporarily suspends screen output from a 4GL report, until the user chooses the Resume option at the Report window. The PAUSE statement can only appear in the FORMAT section of a REPORT routine.

4GLREF00000022.gif

string is a quoted string. (This specification has no effect on Windows systems, but is supported for compatibility with INFORMIX-4GL for character environments.)

Unless the START REPORT statement or the OUTPUT section specifies a destination for report output, output is sent by default to the Report window. The PAUSE statement can be executed only if the report sends its output to the Report window. It has no effect if you include a TO clause in the OUTPUT section of the REPORT definition, or in the START REPORT statement of the report driver.

The presence or absence of the PAUSE statement affects the Report window:

In the absence of a PAUSE statement, the Report window is modeless, like the Help window; the user has simultaneous access to all windows.

In the presence of a PAUSE statement, the Report window becomes modal, taking exclusive control of the 4GL application until the user dismisses it. The user can dismiss the Report window by choosing Resume from its menu.

The Report window does not display the string message that PAUSE displays in a character window.

Your users should be advised that an application can appear suspended if the user closes a modal Report window by using the System menu button on the Report window frame, rather than by choosing the Resume menu option.

References

NEED

PRINT

SKIP