Ver código fonte

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

git-svn-id: trunk@19910 -
joost 13 anos atrás
pai
commit
0fcb5ae687
1 arquivos alterados com 2 adições e 1 exclusões
  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;