Recalc;
The Recalc method calculates the whole report.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Report: IPrxReport;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("Report").Edit;
Report := MObj As IPrxReport;
Report.Recalc;
MObj.Save;
End Sub Main;
After executing the example the regular report is calculated and the changes are saved.
See also: