Data.DB.TField.FieldNo

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: TField

Delphi

property FieldNo: Integer read GetFieldNo;

C++

__property int FieldNo = {read=GetFieldNo, nodefault};

Description

Indicates the ordinal position of the field's column in the underlying table or query result.

Read FieldNo to learn a field component's ordinal position in the table underlying the dataset, where 1 is the first field. Use the FieldNo property to specify the field only in direct API calls to the Borland Database Engine.

Note: Do not confuse FieldNo, which is the field component's ordinal position in the physical database table, with Index, the field component's position in the dataset's Fields property.

See Also