Report Manager ← Back to site

Connection and dataset collections

Component Reference

Database configuration in report

Summary

Internal component name TRpDatabaseInfoList
Parent class TCollection
VCLReport property (legacy CLX) Report.DatabaseInfo
ActiveX Report property Available only by ActiveX interface
Unit name rpdatainfo.pas

Description

This is a collection that describes the properties of each database connection used in the report. The items of this collection are edited in the designer in the data configuration dialog. It has the same properties and methods of standard collections, for example the IndexOf method allow you to locate the index of a database connection by name.

Property name Type Description
Items[index]

TRpDatabaseInfoItem

The properties of this collection items are described below

Summary

Internal component name TRpDatabaseInfoItem
Parent class TCollectionItem
VCLReport property (legacy CLX) Report.DatabaseInfo.Items[index]
ActiveX Report property Available only by ActiveX interface
Unit name rpdatainfo.pas

Description

Each item describes a connection, based on a database connection driver.

Property name Type Description
Alias String

The connection name links to the connection name for each defined dataset, additionally the name can be used to obtain data from configuration files like path to database, user name, password...

It depends on the selected driver:

DbExpress: DBExpress connection name

BDE Driver: The BDE Alias

MyBase: No information needed

IBX: It will load DBExpress connection settings

ADO: The connection string provide all the info about the connection.

IBO: It will load DBExpress connection settings

Summary

Internal component name TRpDataInfoList
Parent class TCollection
VCLReport property (legacy CLX) Report.DataInfo
ActiveX Report property Available only by ActiveX interface
Unit name rpdatainfo.pas

Description

This is a collection that describes the properties of each dataset used in the report. The items of this collection are edited in the designer in the data configuration dialog. It has the same properties and methods of standard collections, for example the IndexOf method allow you to locate the index of a dataset alias by name.

Property name Type Description
Items[index]

TRpDataInfoItem

The properties of this collection items are described below

Summary

Internal component name TRpDataInfoItem
Parent class TCollectionItem
VCLReport property (legacy CLX) Report.DataInfo.Items[index]
ActiveX Report property Available only by ActiveX interface
Unit name rpdatainfo.pas

Description

Each item have properties about opening a dataset, the connection name will select a database connection from the database connections collection (see below), the alias name