IPrxFormulaIslands.Count

Syntax

Count: Integer;

Description

The Count property returns the number of formula areas in the regular report.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

FormulaIs: IPrxFormulaIslands;

i:Integer;

Begin

MB := MetabaseClass.Active;

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

FormulaIs := Report.FormulaIslands;

i := FormulaIs.Count;

End Sub Main;

After executing the example the "i" variable contains the number of formula areas in the regular report. The identifier of the regular report - Report.

See also:

IPrxFormulaIslands