IPrxTableIslands.Item

Syntax

Item(Index: Integer): IPrxTableIsland;

Parameters

Index - index of a relational data area.

Description

The Item property returns the relational data area of the regular report.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

TabIs : IPrxTableIslands;

Key : Integer;

Begin

MB := MetabaseClass.Active;

Report := MB.ItemById("Report").Bind As IPrxReport;

TabIs := Report.TableIslands;

Key := TabIs.Item(0).Key;

Debug.WriteLine(Key.ToString);

End Sub Main;

After executing the example the console window displays the key of the relational data area. Report - identifier of the regular report, which sheet contains a relational data area.

See also:

IPrxTableIslands