Skip to content

DFClosePreview - cWinReport2

Closes the report viewer

Type: Procedure

Syntax

Procedure DFClosePreview

Call Example

Send DFClosePreview

Description

DfClosePreview closes the report viewer. It does not clear the report document (use DfClearDoc for that). The report viewer can be re-opened using the DfPreview message.

You can determine if a report viewer is active by checking the IsViewerActive message.