IPrxReport.Sheets

Syntax

Sheets: IPrxSheets;

Description

The Sheets property returns the collection of regular report sheets.

Example

Sub Main;
Var
    MB: IMetabase;
    Report: IPrxReport;
    Sheets: IPrxSheets;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("Report").Bind As IPrxReport;
    Sheets := Report.Sheets;
    i := Sheets.Count;
End Sub Main;

After executing the example the "i" variable contains the number of the sheets of the regular report with the Report identifier.

See also:

IPrxReport