rvpsqldataprovider TRVReportPSQLDataProvider [VCL]

Events

<< Click to display table of contents >>

rvpsqldataprovider TRVReportPSQLDataProvider [VCL]

Events

A data provider receiving data from PostgreSQL databases via PostgreSQL components.

Unit RVReportPSQLDataProvider;

Syntax

TRVReportPSQLDataProvider = class (TRVReportCustomDBDataProvider)

hmtoggle_arrow1Hierarchy

Description

This component provides data for a report generator component from PostgreSQL databases via PostgresDAC components by MicroOLAP Technologies LTD.

This data provider handles the following data queries:

SQL select statement

table name

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

TRVReportPSQLDataProvider introduces properties:

property Database: TPSQLDatabase;

Also: ObjectView property.

Internally, the component uses temporal TPSQLQuery and TPSQLTable 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 TPSQLQuery and TPSQLTable.

See also

Definitions of Report Workshop terms

Data queries