<< Click to display table of contents >> TRVReportMySQLDataProvider [VCL] |
A data provider receiving data from MySQL databases via DAC for MySQL components.
Unit RVReportMySQLDataProvider;
Syntax
TRVReportMySQLDataProvider = class (TRVReportCustomDBDataProvider)
TObject TPersistent TComponent |
This component provides data for a report generator component from MySQL databases via DAC for MySQL 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.
TRVReportMySQLDataProvider introduces properties:
property Database: TmySQLDatabase;
Also: SparseArrays, Options, ObjectView properties.
Internally, the component uses temporal TMySQLQuery and TMySQLTable 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 TMySQLQuery or TMySQLTable.