Data.DB.TDataSource.State
Delphi
property State: TDataSetState read FState;
C++
__property TDataSetState State = {read=FState, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSource |
Description
Reads the current state of the dataset component associated with a data source.
Examine State to determine the current state of the dataset associated with a data source component. The state of a dataset indicates the action, if any, taking place against the dataset.
The possible values of State correspond to the values for a dataset's State property and are identical to them except that when Enabled is false or DataSet is unassigned, State is dsInactive regardless of the actual state of the dataset.