You've already forked lazarus-ccr
RxFPC:fix cal footer row
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8922 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -6090,7 +6090,7 @@ begin
|
||||
|
||||
for C in Columns do
|
||||
begin
|
||||
if (C.Footer.ValueType in [fvtSum, fvtAvg, fvtMax, fvtMin]) and C.Visible then
|
||||
if (C.Footer.ValueType in [fvtSum, fvtAvg, fvtMax, fvtMin]) and C.Visible and (C.Footer.FieldName<>'') then
|
||||
begin
|
||||
FCList.Add(C);
|
||||
C.Footer.FField:=DHS.FieldByName(C.Footer.FieldName);
|
||||
@ -6098,7 +6098,7 @@ begin
|
||||
|
||||
for F in C.Footers do
|
||||
begin
|
||||
if (F.ValueType in [fvtSum, fvtAvg, fvtMax, fvtMin]) and C.Visible then
|
||||
if (F.ValueType in [fvtSum, fvtAvg, fvtMax, fvtMin]) and C.Visible and (F.FieldName<>'') then
|
||||
begin
|
||||
if FCList.IndexOf(C) < 0 then
|
||||
FCList.Add(C);
|
||||
|
Reference in New Issue
Block a user