TdxReportCustomDataConnection Class
The base class for all report data connection components.
Declaration
TdxReportCustomDataConnection = class abstract(TcxComponentCollectionItem)
Remarks
A data connection component allows you to bind a TdxReport component to data stored in memory or a database.
Main API Members
The list below outlines key members of the TdxReportCustomDataConnection
class. These members allow you to configure core data connection settings.
Data Connection Settings
- Active
- Specifies if the data connection is active.
- DisplayName
Specifies the data connection’s name both in Report Designer and Collection Editor dialogs.
The DisplayName property value is used to refer to the data connection in the report template.
General-Purpose API Members
- Collection | Index
- Specify the parent collection component.
Direct TdxReportCustomDataConnection Class References
The following public API members reference report data connection components as a TdxReportCustomDataConnection
object:
- TdxReportDataConnectionCollection.Add
- Creates a data connection of the required type and adds the connection to the collection.
- TdxReportDataConnectionCollection.Items
- Provides indexed access to all data connection components stored in the collection.
- TdxReportDataConnectionManager.Items
- Provides indexed access to stored data connection components.
- TdxReportCustomDataConnectionClass
- A reference to a report data connection component class.
Tip
You need to cast a returned TdxReportCustomDataConnection
object to the corresponding terminal descendant class to access all public API members.
Call the ClassType function or use any other RTTI functionality to identify the actual report data connection component type.
Terminal TdxReportCustomDataConnection Class Descendants
Do not use the TdxReportCustomDataConnection
class directly. Use the following descendants instead:
- TdxReportInMemoryJSONConnection
- A component designed for interaction with data stored in memory.
- TdxReportDataSetJSONConnection
- A component designed to fetch data from one or multiple datasets (TDataSet descendant instances).
- TdxReportDatabaseSQLConnection
- A component designed to fetch data from an SQL database (SQL Server, PostgreSQL, SQLite, etc.).