FindById(Id: String): IPrxTableIsland;
Id - identifier of a relational data area.
The FindById method searches for a relational data area by the specified identifier.
Sub Main;
Var
MB: IMetabase;
MObj : IMetabaseObject;
Report : IPrxReport;
TabIs : IPrxTableIslands;
TI : IPrxTableIsland;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("Report").Edit;
Report := MObj As IPrxReport;
TabIs := Report.TableIslands;
TI := TabIs.FindById("ITEM");
TI.Sheet := Report.Sheets.Item(1);
TI.Save;
MObj.Save;
End Sub Main;
After executing the example the system redetermines the sheet, on which the found relational data is located. Report - identifier of a regular report.
See also: