ActiveSheet: IPrxSheet;
The ActiveSheet property determines an active sheet of the regular report.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
Sheet: IPrxSheet;
s: String;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
Sheet := Report.ActiveSheet;
s := Sheet.Name;
End Sub Main;
After executing the example the "s" variable contains the name of the active sheet of the regular report with the Report identifier.
See also: