IPrxFormulaIsland.Recalc

Syntax

Recalc();

Description

The Recalc method calculates the formula area.

Example

Executing the example requires a regular report containing formula areas.

Sub main;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Report: IPrxReport;
    FIs: IPrxFormulaIslands;
    FI: IPrxFormulaIsland;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("Report").Edit;
    Report := MObj As IPrxReport;
    FIs := Report.FormulaIslands;
    FI := FIs.Item(0);
    FI.Recalc;
    MObj.Save;
End Sub main;

After executing the example the specified formula area is calculated.

See also:

IPrxFormulaIsland