EPUB | CHM | PDF

TDataSet.Properties.FieldCount

Top Previous Next

Indicates the number of field components associated with the dataset.

Syntax:

property FieldCount: Integer;

Description:

Examine FieldCount to determine the number of fields listed by the Fields property. For datasets with dynamically created fields, FieldCount may differ each time a dataset is opened. For datasets with persistent fields, FieldCount should be unchanged each time a dataset is open.

note FieldCount includes only the fields listed by the Fields property.

See also: Example: FieldCount, Fields, FieldName