3 Report Execution Statements

The STOP REPORT Statement

The STOP REPORT statement terminates the active report. The REPORT EXIT statement is executed if the following three conditions are true:

  1. the STOP REPORT was executed from the program (not from the keyboard),

  2. STOP REPORT is executed in the same program environment that initiated the current report (not a subprogram or function) and

  3. the REPORT EXIT execution flag evaluates to a non-zero value.

In all other cases, STOP REPORT immediately terminates any further printing.

The STOP REPORT statement can be executed even if a report is not active. The only time an error will be generated is while the REPORT EXIT section is active.

STOP REPORT


Eloquence Report Manual - 19 DEC 2002