TdxReportDataConnectionCollection.Add(TdxReportCustomDataConnectionClass) Method
Creates a data connection of the required type and adds the connection to the collection.
Declaration
function Add(AItemClass: TdxReportCustomDataConnectionClass): TdxReportCustomDataConnection;
Parameters
Name | Type | Description |
---|---|---|
AItemClass | TdxReportCustomDataConnectionClass | A reference to the target data connection class (a terminal TdxReportCustomDataConnection descendant). |
Returns
Type | Description |
---|---|
TdxReportCustomDataConnection | The created data connection component ( Tip Cast the returned object to the corresponding terminal TdxReportCustomDataConnection class descendant to access all public API members. |
Remarks
Call the Add
function to create any supported report data connection. All created data connection components are accessible through the Items property.
Delete Data Connections
You can call Delete and Clear procedures to delete data connection components stored in the collection.
See Also