Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


TDataSet.ObjectView
TDataSet
Top 

Specifies whether fields are to be stored hierarchically or flattened out in the Fields property.

property ObjectView: Boolean;

Description
ObjectView affects the way the Fields property stores object fields and the way data-aware grids display ADT and array fields.

When ObjectView is True, the fields are stored hierarchically in the Fields property, meaning any child fields of an object field are referenced by the object field and don't appear sequentially after the object field in the TFields.Fields array. When ObjectView is False, the fields are stored sequentially in the Fields property, meaning any child fields of an object field are stored after the object field as siblings in the Fields array.

When ObjectView is False, object field types, such as TADTField, are not created. This switch is provided for increased compatibility with older data-aware controls, which may not be able to handle object field types properly. The default is False for TBDEDataSet, and True for TClientDataSet.

Note:   
If the ObjectView property of the TTable or TQuery provided to a TClientDataSet is False, then the TClientDataSet's ObjectView property always acts as False, since the data received is already flattened.


© AidAim Software Accuracer: Contents-cross-platform Windows Linux Databas