Data.DB.TDataSet.GetAggRecordCount
Delphi
function GetAggRecordCount(Grp: TGroupPosInd): Integer; virtual;
C++
virtual int __fastcall GetAggRecordCount(TGroupPosInd Grp);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
Returns the number of aggregate fields.
GetAggRecordCount returns the number of aggregate fields from a group. The Grp parameter represents the position of the record within the group. The method returns 0, so every TDataSet descendant must override this method in a specific way.