IPrxDataIslands.Item

Syntax

Item(Index: Integer): IPrxDataIsland;

Parameters

Index - data area index.

Description

The Item property returns an object that contains a data area of the regular report.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

DIs: IPrxDataIslands;

DI: IPrxDataIsland;

i: Integer;

Begin

MB := MetabaseClass.Active;

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

DIs := Report.DataIslands;

DI := DIs.Item(0);

i := DI.Key;

End Sub Main;

After executing the example the "s" variable contains key of the first data area of the regular report. The identifier of the regular report - Report.

See also:

IPrxDataIslands