Vcl.DBGrids.TGridDataLink.FieldCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FieldCount: Integer read FFieldCount;

C++

__property int FieldCount = {read=FFieldCount, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TGridDataLink

Description

Indicates the number of entries in the field map.

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.

See Also