RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGridDataLink.DefaultFields Property

Indicates whether the 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 or not 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 or the custom field mapping contains unmapped fields. 

If DefaultFields is false, the TCustomDBGrid may not show all the fields that are present in the underlying database table. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!