FireDAC.Comp.DataSet.TFDDataSet.RevertRecord

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDDataSet

Delphi

procedure RevertRecord;

C++

void __fastcall RevertRecord();

Description

Undoes changes to the current record.

Use RevertRecord to undo changes to the current record and remove it from the dataset changes log. 

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

See Also