Active: Booelan;
The Active property determines whether this sheet is active.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Report: IPrxReport;
Sheet: IPrxSheet;
Begin
MB:=MetabaseClass.Active;
MObj:=MB.ItemById("Report").Edit;
Report:=MObj As IPrxReport;
Sheet:=Report.Sheets.Item(0);
Sheet.Active:=True;
MObj.Save;
End Sub Main;
After executing the example the first sheet of the regular report with the Report identifier becomes active.
See also: