<< Click to display table of contents >> TRVReportBDEDataProvider [VCL] |
A data provider receiving data from BDE databases.
Unit RVReportBDEDataProvider;
Syntax
TRVReportBDEDataProvider = class (TRVReportCustomDBDataProvider)
TObject TPersistent TComponent |
This component provides data for a report generator component from databases accessed via BDE (Borland Database Engine), including Paradox, dBASE, FoxPro, Access, databases via ODBC, and others. BDE components are included in Delphi and C++Builder till version XE6 (inclusive).
This data provider handles the following data queries:
•SQL select statement
•table name
To use this component, assign it to DataProvider property of TRVReportGenerator.
TRVReportBDEDataProvider introduces properties:
property DatabaseName: String;
property SessionName: String;
Also: ObjectView property.
Internally, the component uses temporal TQuery and TTable 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 TQuery or TTable.