IPrxSheet.Sheets

Syntax

Sheets: IPrxSheets;

Description

The Sheets property returns the owner of this sheet.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

Sheet: IPrxSheet;

Sheets: IPrxSheets;

i: Integer;

Begin

MB := MetabaseClass.Active;

Report := MB.ItemById("Report").Bind As IPrxReport;

Sheet := Report.ActiveSheet;

Sheets := Sheet.Sheets;

i := Sheets.Count;

End Sub Main;

After executing the example the "i" variable will contain the number of pages in the regular report. The identifier of the regular report - Report.

See also:

IPrxSheet