Terminating an Active Report

Use this command to terminate an active report immediately. This command is useful if a report is looping or has been started accidentally. You can terminate inquiry reports without affecting the remainder of the application.

 Caution

If the report contains Sleep logic statements, transactions prior to the last Sleep logic statement are committed to the application database.

It is preferable for the report to detect error conditions and terminate itself normally, if possible.

Administration command

:TER report [process] [stoptype]
:TER report-name [PID] [stoptype]
:TER session-number [stoptype]

Session number can be derived using the :REP command.

Where:

COM+ method

StopReport(VARIANT vtReport, StopReportFlags)

Where:

Security

Users must be a member of one of the following COM+ roles in order to access this administrative function: