EPUB | CHM | PDF

TMySQLDataSet.Methods.CancelUpdates

Top Previous Next

Clears all pending cached updates from the cache and restores the dataset its prior state.

Syntax:

procedure CancelUpdates;

Description:

Call CancelUpdates to clear all pending cached updates from the cache and restore the dataset to the state it was in when the table 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.