Recalc;
The Recalc method calculates a relational data area.
Executing the example requires that the repository contains a regular report with the PRX_REPORT identifier. A relational data area is to be created in this regular report.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Report: IPrxReport;
TIs: IPrxTableIslands;
TI: IPrxTableIsland;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("PRX_REPORT").Edit;
Report := MObj As IPrxReport;
TIs := Report.TableIslands;
TI := TIs.Item(0);
TI.Recalc;
MObj.Save;
End Sub Main;
After executing the example the relational data area is calculated.
See also: