Data.DB.TFields.FieldByNumber

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function FieldByNumber(FieldNo: Integer): TField;

C++

TField* __fastcall FieldByNumber(int FieldNo);

Description

Finds a field based on a specified field number.

Call FieldByNumber to retrieve field information for a field given its field number. Note that the field number is the position of the field in the underlying database table, not the index of the field in the TFields object.

See Also