Skip to main content

TcxSummaryOption Enum

Enumerates summary calculation flags.

Declaration

TcxSummaryOption = (
    soNullIgnore,
    soSelectedRecords,
    soMultipleSelectedRecords
);

Members

Name Description
soNullIgnore

Null Variant record values are ignored for all summaries.

If you need to ignore Null Variant values for individual summaries, handle the TcxDataSummaryItems.OnSummary event as demonstrated in the following code example: Exclude Null Values from Summary Calculation.

soSelectedRecords

This flag excludes all unselected records from summary calculation.

Note

If no record is selected, summaries are not calculated.

soMultipleSelectedRecords

Summaries are calculated for selected records only when two or more records are selected.

If only one or no record is selected in this mode, summaries are calculated for all records (unlike soSelectedRecords).

Remarks

The TcxSummaryOption type enumerates flags that correspond to individual summary calculation options.

Note

soSelectedRecords and soMultipleSelectedRecords flags are mutually exclusive. If you add one of these flags to the TcxDataSummary.Options property, the other is automatically removed.

Direct TcxSummaryOption Type Reference

The TcxSummaryOptions type references the TcxSummaryOption type.

See Also