Sign in Join
FPDoc Onlineexperiment

TDataSet.FieldCount property

Member of TDataSetpublicIn unit DB

Number of fields.

Declaration

pascal
property FieldCount: LongInt read GetFieldCount;

Description

FieldCount is the same as Fields.Count, i.e. the number of fields. For a dataset with persistent fields (when DefaultFields is False) then this number will be always the same every time the dataset is opened. For a dataset with dynamically created fields, the number of fields may be different each time the dataset is opened.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.