Browse Source

* fix from 7513

git-svn-id: trunk@4912 -
marco 19 years ago
parent
commit
70af850b43
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/db/memds/memds.pp

+ 1 - 1
fcl/db/memds/memds.pp

@@ -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([]);