IPivot.Undo

Syntax

Undo;

Description

The Undo method cancels the last executed operation.

Example

Executing the example requires a form with the Button1 button, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1, which is used as a data source for TabSheetBox.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

OLAP: IEaxAnalyzer;

Pivot: IPivot;

Begin

OLAP := UiErAnalyzer1.ErAnalyzer;

Pivot := OLAP.Pivot;

If Pivot.IsUndoAvailable Then

Pivot.Undo;

End If;

End Sub Button1OnClick;

After executing the example clicking the button cancels the last executed operation on the express report table if there is such.

See also:

IPivot