DataIslands: IPrxDataIslands;
The DataIsland property returns the object that contains all data areas of the regular report.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
DI: IPrxDataIslands;
i: Integer;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
DI := Report.DataIslands;
i := DI.Count;
End Sub Main;
After executing the example the "i" variable contains the number of data areas of the regular report with the Report identifier.
See also: