RedoCount: Integer;
The RedoCount property returns the number of operations, which can be repeated.
Sub Macro;
Var
Rep: IPrxReport;
Tab: ITabSheet;
View: ITabView;
i: Integer;
Begin
Rep:=PrxReport.ActiveReport;
Tab:=Rep.ActiveSheet.Table;
View:=Tab.View;
i:=View.RedoCount;
WinApplication.InformationBox(i.ToString);
End Sub Macro;
The example is a macro for a regular report. After the macro has been executed, an information message will be displayed, which contains the number of operations, which can be repeated.
See also: