[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'BufDataset' (#fcl)

TCustomBufDataset.CancelUpdates

Cancels pending updates in the dataset

Declaration

Source position: bufdataset.pas line 635

public procedure TCustomBufDataset.CancelUpdates; virtual;

Description

CancelUpdates is a procedure used to cancel pending updates to records in the dataset. CancelUpdates calls the CheckBrowseMode method to ensure that the dataset is Active, and to perform event notifications for a change in dataset state.

CancelUpdates checks for existing update buffers allocated in the dataset. When update buffers exist, the CancelRecordUpdateBuffer method is called for the bookmark in each of the update buffers.

CancelUpdates restores the record position when able, and calls Resync to refresh the records available in the dataset.

See also

TDataset.CheckBrowseMode

  

Check whether the dataset is in browse mode.

TDataset.Active

  

Is the dataset open or closed.

TCustomBufDataset.Resync


Documentation generated on: Jun 23 2021