| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
State of the dataset
Source position: db.pas line 1871
|  public property TDataSource.State : TDataSetState | 
State contains the State of the dataset it is connected to, or dsInactive if the dataset property is not set or the datasource is not enabled. Components connected to a dataset through a datasource property should always check TDatasource.State instead of checking TDataset.State directly, to take into account the effect of the Enabled property.
| 
 | Current operational state of the dataset | |
| 
 | Enable or disable sending of events |