FormulaIslands: IPrxFormulaIslands;
The FormulaIslands property returns an object containing formula areas of the regular report.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
Formula: IPrxFormulaIslands;
i: Integer;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
Formula := Report.FormulaIslands;
i := Formula.Count;
End Sub Main;
After executing the example the "i" variable contains the number of formula areas of the regular report with the Report identifier.
See also: