Report > Report Assembly Interfaces > IPrxReport > IPrxReport.Sheets
Sheets: IPrxSheets;
The Sheets property returns the collection of regular report sheets.
Sub UserProc;
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 UserProc;
After executing the example the "i" variable contains the number of regular report sheets with the Report identifier.
See also: