Skip to main content
All docs
V25.1
  • TdxReportDataSetCollection.Add Method

    Creates a Report dataset item without an associated dataset and adds the created item to the collection.

    Declaration

    function Add: TdxReportDataSetCollectionItem; overload;

    Returns

    Type Description
    TdxReportDataSetCollectionItem

    The created Report dataset item.

    Use the item’s DataSet and DataSetAlias properties to associate the collection item with a dataset (a TDataSet descendant instance) and assign a user-friendly dataset name for the Report Designer dialog.

    Remarks

    Call the Add function to create a new report dataset item with the default settings. All created dataset items are accessible through the Items property.

    Delete Report Dataset Items

    You can call Delete and Clear procedures to delete Report dataset items stored in the collection.

    See Also