Data.DB.TFields
Delphi
TFields = class(TObject)
C++
class PASCALIMPLEMENTATION TFields : public System::TObject
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
TFields holds the field (TField) objects that represent the physical fields underlying a dataset or an object field such as TADTField and TArrayField.
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 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 TDataSet. ::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.
Find out how many fields there are.