You've already forked lazarus-ccr
minor fix for calc total function in RxDBGrid - tnx ronin
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2484 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -3929,10 +3929,12 @@ begin
|
||||
case FValueType of
|
||||
fvtSum:
|
||||
begin
|
||||
if F.OldValue <> null then
|
||||
FTestValue := FTestValue - Float(F.OldValue);
|
||||
if not F.IsNull then
|
||||
begin
|
||||
if F.OldValue <> null then
|
||||
FTestValue := FTestValue - Float(F.OldValue);
|
||||
FTestValue := FTestValue + F.AsFloat;
|
||||
end;
|
||||
end;
|
||||
fvtMax: if not F.IsNull then
|
||||
FTestValue := Max(FTestValue, F.AsFloat);
|
||||
|
Reference in New Issue
Block a user