RxFPC: try to fix error message on calc footer row - tnx zyzmo

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4523 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
alexs75
2016-02-25 12:16:57 +00:00
parent bb978ecb2c
commit 8921e15d99

View File

@ -4972,6 +4972,7 @@ begin
end;
end;
if Min(DHL.RecordCount + SavePos - 1, DHS.RecNo) > 0 then
DHS.RecNo := Min(DHL.RecordCount + SavePos - 1, DHS.RecNo);
K:=DHS.RecNo;