Sign in Join
FPDoc Onlineexperiment

TDataSet.CheckBrowseMode procedure

Member of TDataSetpublicIn unit DB

Check whether the dataset is in browse mode.

Declaration

pascal
procedure CheckBrowseMode

Description

CheckBrowseMode will force the dataset to browse mode ( State=dsBrowse) if it is active. If it is not active, an EDatabaseError exception is raised. If it is active, but in an edit state, then UpdateRecord is called, and if the Modified property is true, a Post is performed, else Cancel is called.

See also

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