* Fix aggregates calculation. Fixes issue #41018

(cherry picked from commit 7fa6fa257b)
This commit is contained in:
Michaël Van Canneyt 2025-01-10 22:10:20 +01:00
parent 87d4c18992
commit a6b0e4badc

View File

@ -12226,11 +12226,11 @@ begin
{$endif}
// DumpData(aPageData);
PrepareRecord(aData);
Report.UpdateAggregates(aPage,aData);
if FNewPage then
StartNewPage;
ShowDataHeaderBand;
HandleGroupBands;
Report.UpdateAggregates(aPage,aData);
ShowDataBand;
aData.Next;
end;