Skip to content

DFClearDoc - cWinReport2

DFClearDoc clears the generated report

Type: Procedure

Syntax

Procedure DFClearDoc

Call Example

Send DFClearDoc

Description

DFClearDoc clears the generated report document in memory, but leaves the printer settings unchanged. If the report viewer is active it will be closed.

DFClearDoc is always sent before a new report is generated. It is also sent when you close a ReportView object. If you are done with a report, you may wish to send this message to free resources on your computer.