rvpgdataprovider TRVReportPgDataProvider [VCL]

Events

<< Click to display table of contents >>

rvpgdataprovider TRVReportPgDataProvider [VCL]

Events

A data provider receiving data from PostgreSQL databases via PgDAC.

Unit RVReportPgDataProvider;

Syntax

TRVReportPgDataProvider = class (TRVReportCustomDBDataProvider)

hmtoggle_arrow1Hierarchy

Description

This component provides data for a report generator component from PostgreSQL databases via PgDAC components by Devart.

This data provider handles the following data queries:

SQL select statement

table name

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

TRVReportPgDataProvider introduces properties:

property Connection: TPgConnection;

Also: Options, FetchRows, FetchAll, DataTypeMap, Encryption, SmartFetch properties, AfterQueryExecute, AfterQueryFetch events.

Internally, the component uses temporal TPgQuery and TPgTable 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 TPgQuery or TPgTable.

See also

Definitions of Report Workshop terms

Data queries