<< Click to display table of contents >> TCustomRVReportGenerator |
A base class for TRVReportGenerator component.
Unit RVReportGenerator;
Syntax
TCustomRVReportGenerator = class (TComponent)
TObject TPersistent TComponent |
This component is not used directly. Use TRVReportGenerator instead.
Call Execute to process a TRichView component containing a report template, in order to produce a final report. The report may be generated in the context of the main process, or in a background thread.
While processing a report template, the report generator processes data queries by creating query processors. They are created either by DataProvider, or in OnCreateQueryProcessor event.
While generating reports, the following events occur:
•OnDataQueryProgress allows to show a progress indicator or to abort the generation;
•OnError allows to process errors;
•OnProcessRecord allows to execute your code before processing each record in results of a query processor.
When report generation is finished, OnGenerated event occurs.
The report generator has a list of global report variables.