RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSource.State Property

Reads the current state of the dataset component associated with a data source.

Pascal
property State: TDataSetState;
C++
__property TDataSetState State;

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. 

 

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