FireDAC.Comp.DataSet.TFDAggregates.Add

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function Add: TFDAggregate;

C++

HIDESBASE TFDAggregate* __fastcall Add(void);

プロパティ

種類 可視性 ソース ユニット
function public
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDAggregates

説明

新しい TFDAggregate オブジェクトをコレクションに追加します。


Add メソッドを呼び出して、新しい空の TFDAggregate オブジェクトをコレクションに追加することができます。

 with FDQuery1.Aggregates.Add do begin
   Name := 'a1';
   Expression := 'count(*)';
   Active := True;
 end;

関連項目