TCustomRVReportGenerator

Properties   Methods   Events

<< Click to display table of contents >>

TCustomRVReportGenerator

Properties   Methods   Events

A base class for TRVReportGenerator component.

Unit RVReportGenerator;

Syntax

TCustomRVReportGenerator = class (TComponent)

hmtoggle_arrow1Hierarchy

Description

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.

See also

Definitions of Report Workshop terms