RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGridDataLink.FieldCount Property

Indicates the number of entries in the field map.

Pascal
property FieldCount: Integer;
C++
__property int FieldCount;

Read FieldCount to determine the number of entries in the field map. Used with the Fields property, this is useful for applications that need to iterate over all of the mapped fields.  

FieldCount is the same as the number of columns in the TCustomDBGrid. The field map can contain undefined fields, which do not appear in the dataset. Undefined fields in the field map stand in for fields in the columns of the grid that are not in the dataset, such as calculated fields. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!