You've already forked lazarus-ccr
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:
@ -5017,12 +5017,16 @@ begin
|
|||||||
begin
|
begin
|
||||||
APresent := (C.Footer.FValueType in [fvtSum, fvtAvg, fvtMax, fvtMin, fvtCount]) or (C.FGroupItems.Active);
|
APresent := (C.Footer.FValueType in [fvtSum, fvtAvg, fvtMax, fvtMin, fvtCount]) or (C.FGroupItems.Active);
|
||||||
if not APresent then
|
if not APresent then
|
||||||
|
begin
|
||||||
for F in C.Footers do
|
for F in C.Footers do
|
||||||
begin
|
begin
|
||||||
APresent:=F.FValueType in [fvtSum, fvtAvg, fvtMax, fvtMin, fvtCount];
|
APresent:=F.FValueType in [fvtSum, fvtAvg, fvtMax, fvtMin, fvtCount];
|
||||||
if APresent then
|
if APresent then
|
||||||
break;
|
break;
|
||||||
end;
|
end;
|
||||||
|
end
|
||||||
|
else
|
||||||
|
break;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if not APresent then Exit;
|
if not APresent then Exit;
|
||||||
|
Reference in New Issue
Block a user