Skip to content

Update_Status - cWinReport2

Updates a report's status in the report viewer

Type: Procedure

Parameters

Parameter Type Description
Val String Status text to be displayed in the viewer

Syntax

Procedure Update_Status String Val

Call Example

Send Update_Status Val

Description

The update_status message is augmented in this class to direct the status update string to the report viewer. The status area in the WinPrint2 report viewer is the status panel at the bottom of the viewer.

If the report viewer is not being used (e.g., a direct report to printer) the message will be forwarded causing the status panel to be updated.

Col 1 Col 2
Note: Placing the Update_status message in the Body procedure may create an update that occurs too frequently making the status line hard to read and slowing down the report generation. Often the status update is best performed in a sub-header. Alternately, you could write code so that the status update within the body does not occur with every record.