IPrxTableIsland.Source

Syntax

Source: IPrxTableSource;

Description

The Source property determines a data source for a relational data area.

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.Item(0);

TI := TI.Edit;

TI.Source := Report.TableSources.Item(1);

TI.Save;

MObj.Save;

End Sub Main;

After executing the example data source of the relational data area is changed. Report - identifier of a regular report.

See also:

IPrxTableIsland