Explorar el Código

* Show a proper error-message when trying to do a locate on a uni-directional dataset

git-svn-id: trunk@19910 -
joost hace 14 años
padre
commit
0fcb5ae687
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      packages/fcl-db/src/base/bufdataset.pas

+ 2 - 1
packages/fcl-db/src/base/bufdataset.pas

@@ -2980,7 +2980,8 @@ var CurrLinkItem    : PBufRecLinkItem;
     FiltAcceptable  : boolean;
 
 begin
-  Result := False;
+  // Call inherited to make sure the dataset is bi-directional
+  Result := inherited;
   CheckActive;
   if IsEmpty then exit;