[Overview][Types][Classes][Procedures and functions][Index] |
Cancels pending updates in the dataset
Source position: bufdataset.pas line 635
public procedure TCustomBufDataset.CancelUpdates; virtual; |
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.
|
Check whether the dataset is in browse mode. |
|
|
Is the dataset open or closed. |
|
TCustomBufDataset.Resync |