RxFPC:fix calc footer row

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5895 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
alexs75
2017-05-23 10:48:55 +00:00
parent 46888f3207
commit 7bfa2da31d

View File

@ -5017,12 +5017,16 @@ begin
begin
APresent := (C.Footer.FValueType in [fvtSum, fvtAvg, fvtMax, fvtMin, fvtCount]) or (C.FGroupItems.Active);
if not APresent then
begin
for F in C.Footers do
begin
APresent:=F.FValueType in [fvtSum, fvtAvg, fvtMax, fvtMin, fvtCount];
if APresent then
break;
end;
end
else
break;
end;
if not APresent then Exit;