RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFields.FieldByNumber Method

Finds a field based on a specified field number.

Pascal
function FieldByNumber(FieldNo: Integer): TField;
C++
__fastcall TField FieldByNumber(int FieldNo);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!