RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldList.Fields Property

Lists the fields in the dataset.

Pascal
property Fields [Index: Integer]: TField;
C++
__property TField Fields[int Index];

Use Fields to obtain a pointer to a specific field component. The Index parameter indicates the index of the field, where 0 is the index of the first field, 1 is the index of the second field, and so on. 

A TFieldList with object field types, such as TADTField and TArrayField, lists child TField objects sequentially after the parent TField.  

Use Fields with the Count property to iterate through all of the fields in the list. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!