RAD Studio VCL Reference
TDataSet.DefaultFields Property

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

property DefaultFields: Boolean;
__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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!