Show: Delphi C++
Display Preferences

Data.DB.TDataSet.FieldCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FieldCount: Integer read GetFieldCount;

C++

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

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

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


Personal tools
In Other Languages
Previous Versions
Assistance