Skip to main content

TcxDBDataSummaryItem Class

Represents a single summary to calculate against a specific field.

Declaration

TcxDBDataSummaryItem = class(
    TcxDataSummaryItem
)

Remarks

The TcxDBDataSummaryItem class extends the functionality provided by the TcxDataSummaryItem class. It enables operations on the TDataSet object. TcxDBDataSummaryItem allows you to specify a dataset field from the corresponding data controller against which a summary is calculated. The summary result will be positioned based on the item specified by the ItemLink property. If you do not assign a field to the FieldName property, the summary will be evaluated against values of the item specified by the ItemLink property.

TcxDBDataSummaryItem is an element of the collection represented by the TcxDataSummaryItems class. TcxDataSummaryItems is the base class for TcxDataFooterSummaryItems and TcxDataGroupSummaryItems which implement footer summaries and group summaries respectively.

To add a summary, use the TcxCustomDataController.Summary property.

See Also