TCustomBufDataset.RevertRecord procedure
Reverts the current record to its original (un-edited) values.
Declaration
procedure RevertRecordDescription
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
- TDataset.CheckBrowseMode
- TDataset.Active
- TCustomBufDataset.Resync
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
