Units documentation

rpdatainfo.pas

Description

This unit implements all database and dataset access to all supported drivers, if you want to add a database driver you only need to modify this file, but to do correctly it uses rpconf.inc compiler configuration so you can enable or disable database drivers you don't use in your applications, it has a little ugly code because the compiler defines.

Types

Name Description
TRpDatasetType Enumeration (rpdquery,rpdtable), applicable only to Borland Database Engine datasets

Components and classes

Name Base class Description
TRpConnAdmin TObject Helper to load configuration from DBExpress configuration files, used by DBExpress, IBX, IBO...
TRpDatabaseInfoItem TCollectionItem Item with all the information required to perform a connection to a database
TRpDatabaseInfoList TCollection Collection of database info items, TRpReport has the property databaseinfo, this enables a report to connect to multiple databases.
TRpDataInfoItem TCollectionItem Item with all the information required to open a dataset, and relations to other datasets, each item has the DatabaseAlias property that refers to a TRpDatabaseInfoItem to open the dataset using the correct connection
TRpDataInfoList TCollection Collection of dataset info items, TRpReport has the property datainfo, this enables a report to open multiple datasets

Functions

Declaration Description
procedure GetRpDatabaseDrivers(alist:TStrings); Fills a string list with the names of supported database drivers