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


Reverts the current record to its original (un-edited) values


Source position: bufdataset.pas line 634

public procedure TCustomBufDataset.RevertRecord;


RevertRecord is a procedure used to revert changes in the current record to their original (un-edited) values. RevertRecord calls the CheckBrowseMode method to ensure that the dataset is Active, and to perform event notifications for a change in dataset state.

RevertRecord checks for an update buffer in the current record, and when found calls the CancelRecordUpdateBuffer method and removes the update buffer. The Resync method is called to refresh the records in the dataset.

See also



Check whether the dataset is in browse mode.



Is the dataset open or closed.


Documentation generated on: May 14 2021