RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.UndoLastChange Method

Undoes the last edit, insert, or delete operation to a record in the client dataset.

Pascal
function UndoLastChange(FollowChange: Boolean): Boolean;
C++
__fastcall Boolean UndoLastChange(Boolean FollowChange);

Call UndoLastChange to undo the last edit, insert, or delete operation to a record in the client dataset. FollowChange indicates whether to reposition the cursor on the restored record. If FollowChange is true, the cursor is positioned on the restored record. If FollowChange is false, the cursor remains on current record. 

 

LogChanges 

CreateDataSet 

Undoing Changes

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