From RAD Studio API Documentation
Jump to: navigation, search


property Active: Boolean read FActive write SetActive default 0;


__property Active = {default=0};


Type Visibility Source Unit Parent
property published
FireDAC.Phys.SQLiteVDataSet TFDLocalSQL


Activates the Local SQL engine.

FireDAC.Phys.SQLiteVDataSet.TFDLocalSQL.Active inherits from FireDAC.Comp.Client.TFDCustomLocalSQL.Active. All content below this line refers to FireDAC.Comp.Client.TFDCustomLocalSQL.Active.

Activates the Local SQL engine.

Set the Active property to True to activate the Local SQL engine and to add the registered datasets to the Local SQL namespace. Set Active to False to remove the datasets from the Local SQL namespace and to deactivate the Local SQL engine. Local SQL queries may be performed only when Active is True and the connection is active.

When an application needs to perform massive Local SQL configuration tasks, like adding a set of datasets, removing a set of datasets, and so on, we recommend that you first set Active to False. Then, when a task is finished, set Active to True.

Set Active to False only when there are no active or prepared SQL commands using this Local SQL.

See Also