Datasnap.DBClient.TCustomClientDataSet.UndoLastChange

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomClientDataSet

Delphi

function UndoLastChange(FollowChange: Boolean): Boolean;

C++

bool __fastcall UndoLastChange(bool FollowChange);

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.

See Also