<< Click to display table of contents >> TRVReportIBODataProvider [VCL; LCL; FMX] |
A data provider receiving data from InterBase and Firebird databases via IB Objects components.
Unit RVReportIBODataProvider;
Syntax
TRVReportIBODataProvider = class (TRVReportCustomDBDataProvider)
TObject TPersistent TComponent |
This component provides data for a report generator component from InterBase and Firebird databases via IB Objects components by Jason Wharton.
This component provides data for a report generator component from InterBase and Firebird databases via IB Objects components by Jason Wharton.
This data provider handles the following data queries:
•SQL select statement
•table name
To use this component, assign it to DataProvider property of TRVReportGenerator.
TRVReportIBODataProvider introduces properties:
property IB_Connection: TIB_Connection;
property DatabaseName: String;
property SessionName: String;
Also: MaxRows, AutoFetchAll, FetchWholeRows, ColumnAttributes, FieldOptions properties.
Internally, the component uses temporal TIBOQuery and TIBOTable 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 TIBOQuery or TIBOTable.