Show contents 

Report > Report Assembly Interfaces > IPrxSheet > IPrxSheet.Key

IPrxSheet.Key

Syntax

Key: Integer;

Description

The Key property returns key of a regular report sheet.

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.Key;
End Sub UserProc;

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

See also:

IPrxSheet