Sign in Join
FPDoc Onlineexperiment

TDataSource.State property

Member of TDataSourcepublicIn unit DB

State of the dataset.

Declaration

pascal
property State: TDataSetState read FState;

Description

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 State directly, to take into account the effect of the Enabled property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.