void __fastcall CancelUpdates();
Removes all records from the change log and restores the dataset rows to their prior editing state.
Use CancelUpdates to remove all records from the change log, when the CachedUpdates property of the dataset is set to True. Also, the dataset records are restored to the state they were in at the moment when the dataset was opened, cached updates were last enabled, or updates were last successfully applied to the database.
When a dataset is closed or the CachedUpdates property is set to False, CancelUpdates is called automatically.
Note: To undo changes to a single record, call RevertRecord.