TFields = class(TObject)
class PASCALIMPLEMENTATION TFields : public System::TObject
TFields is used by a dataset to manage the field objects that correspond to fields in the database table and by object fields to manage child fields.
When Data.DB.TDataSet.ObjectView is true, the fields are stored hierarchically, meaning any child fields of an object field are referenced by the object field and do not appear sequentially after the object field in the Fields array. When ObjectView is false, the fields are stored sequentially, or flattened out, meaning any child fields of an object field are stored sequentially in the Fields array.
Use the properties and methods of TFields to:
- Access a specific field.
- Add or delete persistent field components from the list.
- Determine the number of fields.