EPUB | CHM | PDF

TDataSet.Properties.DefaultFields

Top Previous Next

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

Syntax:

property DefaultFields Boolean;

Description:

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 database table or tables when it is opened.