mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 05:30:37 +01:00
* fix from 7513
git-svn-id: trunk@4912 -
This commit is contained in:
parent
d509adb9fa
commit
70af850b43
@ -841,7 +841,7 @@ end;
|
||||
procedure TMemDataset.SetRecNo(Value: Integer);
|
||||
begin
|
||||
CheckBrowseMode;
|
||||
if (Value>1) and (Value<=FRecCount) then
|
||||
if (Value>=1) and (Value<=FRecCount) then
|
||||
begin
|
||||
FCurrRecNo:=Value-1;
|
||||
Resync([]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user