AfterReport Event
Occurs directly after the Report Engine finishes processing a report form.
PROCEDURE Object.AfterReport
Parameters
None.
Remarks
Applies To: ReportListener Object.
At the conclusion of the report run, after the final AfterBand event, the Report Engine fires the AfterReport event. At this time, the private datasession specified by the FRXDataSession property still contains its read-only copy of the report definition file (frx). The print job (if the report is printing) is still open.
When AfterReport returns, output is finalized (for example, the print job is closed) if there was no NOPAGEEJECT keyword on this REPORT FORM command.
Note
For more information about the order of events in a report run, refer to Understanding Visual FoxPro Object-Assisted Reporting.