UniDAC

TAggregates.Add Method

Adds an aggregate field to the collection.

Class

TAggregates

Syntax

function Add(const Name: string; GroupingLevel: integer = 1): TAggregate;

Parameters
Name
The name of the field being added.
GroupingLevel
The groups of records over which the field's aggregate is calculated.

Remarks

If a field with the same name already exists, an error message is displayed. Otherwise, a link to a new field is displayed.

© 1997-2026 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback