RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TField.FieldNo Property

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

Pascal
property FieldNo: Integer;
C++
__property int FieldNo;

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.
 

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