Data.DB.TDataSet.SetDefaultFields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetDefaultFields(const Value: Boolean); deprecated 'Use TField.LifeCycle or TFields.LifeCycles properties instead';

C++

void __fastcall SetDefaultFields _DEPRECATED_ATTRIBUTE1("Use TField.LifeCycle or TFields.LifeCycles properties instead") (const bool Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Warning: SetDefaultFields is deprecated.

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

SetDefaultFields is used to specify whether a dataset's underlying field components are generated dynamically when the dataset is opened. If the Value parameter is True, the dataset uses dynamically allocated field components, and persistent field components otherwise. See the Filtered documentation for further details on how to use the property.

Note: TDataSet.SetDefaultFields is marked as deprecated. Use TFields.LifeCycles and TField.LifeCycle instead.

See Also