Undo;
The Undo method cancels the last operation.
Sub Macro;
Var
Rep: IPrxReport;
Tab: ITabSheet;
View: ITabView;
Begin
Rep:=PrxReport.ActiveReport;
Tab:=Rep.ActiveSheet.Table;
View:=Tab.View;
If View.UndoCount<>0 Then
View.Undo;
End If;
End Sub Macro;
The example is a macro for a regular report. After the macro has been executed, the last operation will be cancelled.
See also: