IPrxTableIslandGroupings.Island

Syntax

Island : IPrxTableIsland;

Description

The Island property returns the relational data area, to which the group belongs.

Example

Sub UserProc;
Var
    MB: IMetabase;
    Report: IPrxReport;
    TabIs: IPrxTableIslands;
    TI: IPrxTableIsland;
    Grs: IPrxTableIslandGroupings;
    Name: String;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("REPORT").Bind As IPrxReport;
    TabIs := Report.TableIslands;
    TI := TabIs.Item(0);
    Grs := TI.Groupings;
    Name := Grs.Island.Name;
    Debug.WriteLine(Name);
End Sub UserProc;

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

See also:

IPrxTableIslandGroupings