FindById(Id: String): IPrxDataIsland;
Id - the identifier, on which the search is based.
The FindById method finds an object containing a data area of the regular report based on its identifier and returns the object.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
DIs: IPrxDataIslands;
DI: IPrxDataIsland;
i: Integer;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
DIs := Report.DataIslands;
DI := DIs.FindById("DATAISLAND1");
i := DI.Key;
End Sub Main;
After executing the example the "i" variable contains key of the data area of the regular report that has the DATAISLAND1 identifier. The identifier of the regular report - Report.
See also: