FireDAC.Comp.DataSet.TFDAggregates.Add
Delphi
function Add: TFDAggregate;
C++
HIDESBASE TFDAggregate* __fastcall Add();
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDAggregates |
Description
Appends a new TFDAggregate object to a collection.
Call the Add method to add a new empty TFDAggregate object to a collection.
Example
with FDQuery1.Aggregates.Add do begin
Name := 'a1';
Expression := 'count(*)';
Active := True;
end;