RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSet.DefaultFields Property

Indicates whether a dataset's underlying field components are generated dynamically when the dataset is opened.

Pascal
property DefaultFields: Boolean;
C++
__property Boolean DefaultFields;

Read DefaultFields to determine whether a dataset uses dynamically generated field components or persistent field components. If DefaultFields is true, the dataset uses dynamically allocated field components. If DefaultFields is false, the dataset uses persistent field components. 

Unless persistent field components are assigned to a dataset at design time using the Fields editor, the dataset creates dynamic field components based on the structure of its underlying data when it is opened. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!