Datasnap.DBClient.TCustomClientDataSet.UndoLastChange
Delphi
function UndoLastChange(FollowChange: Boolean): Boolean;
C++
bool __fastcall UndoLastChange(bool FollowChange);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | TCustomClientDataSet |
Description
Undoes the last edit, insert, or delete operation to a record in the client dataset.
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 the current record.