Datasnap.DBClient.TCustomClientDataSet.RevertRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RevertRecord;

C++

void __fastcall RevertRecord(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

Description

Undoes edits to the current record.

Call RevertRecord to remove any modifications made to the current record. RevertRecord can only remove modifications to records that are still in the change log. Changes that have been removed because they were applied by a provider or merged into the Data property cannot be undone using RevertRecord.

Note: To undo the last edit made to a record, call UndoLastChange. To cancel all pending modifications, call CancelUpdates. To undo all edits since an application-defined state, use the SavePoint property.

See Also