Bde.DBTables.TBDEDataSet.CancelUpdates

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CancelUpdates;

C++

void __fastcall CancelUpdates();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TBDEDataSet

Description

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

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.

See Also