Data.DB.TDataSet.FieldCount

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

Delphi

property FieldCount: Integer read GetFieldCount;

C++

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

Description

Indicates the number of field components associated with the dataset.

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. Any aggregated fields listed by the AggFields property are not included in the count.

See Also

Code Examples