IPrxFormulaIslands.Item

Syntax

Item(Index: Integer): IPrxFormulaIsland;

Parameters

Index - index of formula area.

Description

The Item property returns the object that contains the formula area, which index is passed using the Index parameter.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

FormulaIs: IPrxFormulaIslands;

Formula: IPrxFormulaIsland;

s: String;

Begin

MB := MetabaseClass.Active;

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

FormulaIs := Report.FormulaIslands;

Formula := FormulaIs.Item(0);

s := Formula.Origin.Address;

End Sub Main;

After executing the example the "s" variable contains address of the base cell of the first formula area of the regular report. The identifier of the regular report - Report.

See also:

IPrxFormulaIslands