TRVReportGenerator.Execute

<< Click to display table of contents >>

TRVReportGenerator.Execute

Processes a report template contained in RV (or RVData), and produces a final report.

function Execute(RV: TCustomRichView): Boolean;

function Execute(RVData: TCustomRVData): Boolean;

The resulting document is not formatted, call RV.Format after calling this method.

The method finishes when the report generation is finished. It may take some time for large reports. You can provide feedback in OnDataQueryProgress event.

If the generation is successful, the method returns True. There are may be some non-critical errors, though. You can control error handing using OnError event.