IPrxSheet.Key

Syntax

Key: Integer;

Description

The property is read-only.

The Key property returns key of a regular report sheet.

Example

Sub Main;

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 Main;

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