RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAggregate.DataType Property

Indicates the data type of the calculated value.

Pascal
property DataType: TFieldType;
C++
__property TFieldType DataType;

Read DataType to determine the data type of the value calculated by the aggregate. This may differ from the data type of the fields that are summarized. For example, an aggregate that counts non-null fields will return an integer (ftInteger), even if the records themselves are some other type. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!