IPrxTableIslands.FindById

Syntax

FindById(Id: String): IPrxTableIsland;

Parameters

Id - identifier of a relational data area.

Description

The FindById method searches for a relational data area by the specified identifier.

Example

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:

IPrxTableIslands