rvfddataprovider TRVReportFDDataProvider [VCL, FMX]

Events

<< Click to display table of contents >>

rvfddataprovider TRVReportFDDataProvider [VCL, FMX]

Events

A data provider receiving data from various databases via FireDAC.

Unit RVReportFDDataProvider;

Syntax

TRVReportFDDataProvider = class (TRVReportCustomFDDataProvider)

hmtoggle_arrow1Hierarchy

Description

This component provides data for a report generator component from various databases via FireDAC. FireDAC components are included in RAD Studio since XE3 version.

This data provider handles the following data queries:

SQL select statement

table name

To use this component, assign it to DataProvider property of TRVReportGenerator.

TRVReportFDDataProvider introduces properties:

property Connection: TFDCustomConnection;

property ConnectionName: String;

Also: FieldOptions, LocalSQL properties.

Internally, the component uses temporal TFDQuery and TFDTable components to handle data queries. The data provider properties and events are assigned to these components. If you want to assign additional properties to them, use OnDataSetCreated event.

In addition to the default query processing, you can provide another DataSet component in OnCreateDataSet event. This DataSet is not necessary needed to be TFDQuery or TFDTable.

See also

Definitions of Report Workshop terms

Data queries