IPrxDataIsland.Recalc

Syntax

Recalc;

Description

The Recalc method calculates a data area.

Example

Executing the example requires a regular report with the REPORT identifier, which contains data area. Add links to the Metabase, Report system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    DI: IPrxDataIsland;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById(
"REPORT").Edit;
    DI := (MObj 
As IPrxReport).DataIslands.Item(0);
    
// Calculate data area. 
    DI.Recalc;
    MObj.Save;
End Sub UserProc;

After executing the example the first data area of the REPORT regular report is calculated.

See also:

IPrxDataIsland