RAD Studio VCL Reference
|
TFields holds the field (TField) objects that represent the physical fields underlying a dataset or an object field such as TADTField and TArrayField.
TFields = class(TObject);
class TFields : public TObject;
DB
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.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|