FireDAC.Comp.DataSet.TFDAggregates.Add
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp
| |
Unit: FireDAC.Comp.DataSet | |
Parent: TFDAggregates |
Delphi
function Add: TFDAggregate;
C++
HIDESBASE TFDAggregate* __fastcall Add();
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;