Sign in Join
FPDoc Onlineexperiment

TDataSetState enumeration

In unit DB

Current state of the dataset.

Declaration

pascal
TDataSetState = (dsInactive,dsBrowse,dsEdit,dsInsert,dsSetKey,
 dsCalcFields,dsFilter,dsNewValue,dsOldValue,dsCurValue,
 dsBlockRead,dsInternalCalc,dsOpening,dsRefreshFields)

Description

TDataSetState describes the current state of the dataset. During it's lifetime, the dataset's state is described by these enumerated values.

Some state are not used in the default TDataset implementation, and are only used by certain descendents.

See also

Values

dsInactiveThe dataset is not active. No data is available.
dsBrowseThe dataset is active, and the cursor can be used to navigate the data.
dsEditThe dataset is in editing mode: the current record can be modified.
dsInsertThe dataset is in insert mode: the current record is a new record which can be edited.
dsSetKeyThe dataset is calculating the primary key.
dsCalcFieldsThe dataset is calculating it's calculated fields.
dsFilterThe dataset is filtering records.
dsNewValueThe dataset is showing the new values of a record.
dsOldValueThe dataset is showing the old values of a record.
dsCurValueThe dataset is showing the current values of a record.
dsBlockReadThe dataset is open, but no events are transferred to datasources.
dsInternalCalcThe dataset is calculating it's internally calculated fields.
dsOpeningThe dataset is currently opening, but is not yet completely open.
dsRefreshFieldsDataset is refreshing field values from server after an update.

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