RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.RevertRecord Method

Undoes edits to the current record.

Pascal
procedure RevertRecord;
C++
__fastcall RevertRecord();

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 can't 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.
 

ApplyUpdates 

CancelUpdates 

Reconcile 

UndoLastChange 

SavePoint 

MergeChangeLog 

StatusFilter 

Undoing Changes 

Using the BDE to Cache Updates 

Updating Data in dbExpress Applications

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!