FireDAC.Comp.DataSet.TFDDataSet.RevertRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RevertRecord;

C++

void __fastcall RevertRecord();

Properties

Type Visibility Source Unit Parent
procedure
function
public
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

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