IPrxReport.TableSources

Syntax

TableSources : IPrxTableSources;

Description

The TableSources property determines a collection of relational data sources.

Example

Sub main;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Report: IPrxReport;
    TabIs: IPrxTableIslands;
    TI: IPrxTableIsland;
    Sources: IPrxTableSources;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("Report").Edit;
    Report := MObj As IPrxReport;
    TabIs := Report.TableIslands;
    TI := TabIs.Item(0);
    TI := TI.Edit;
    Sources := Report.TableSources;
    TI.Source := Sources.Item(1);
    TI.Save;
    MObj.Save;
End Sub main;

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

See also:

IPrxReport