Data.DB.TField.GetFieldNo

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TField

Delphi

function GetFieldNo: Integer; virtual;

C++

virtual int __fastcall GetFieldNo();

Description

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

The GetFieldNo method is the protected getter implementation for the FieldNo property. GetFieldNo returns a field component's ordinal position in the table underlying the dataset, where 1 is the first field.

See Also