Show contents 

Report > Report Assembly Interfaces > IPrxSheet > IPrxSheet.Index

IPrxSheet.Index

Syntax

Index: Integer;

Description

The Index property returns index of the sheet in the list.

Example

Sub UserProc;
Var
    MB: IMetabase;
    Report: IPrxReport;
    Sheet: IPrxSheet;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("REPORT").Bind As IPrxReport;
    Sheet := Report.ActiveSheet;
    i := Sheet.Index;
End Sub UserProc;

After executing the example the "i" variable contains the index of the active sheet of the regular report. The identifier of the regular report - Report.

See also:

IPrxSheet