Browse Source

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

git-svn-id: trunk@19910 -
joost 13 years ago
parent
commit
0fcb5ae687
1 changed files with 2 additions and 1 deletions
  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;
     FiltAcceptable  : boolean;
 
 
 begin
 begin
-  Result := False;
+  // Call inherited to make sure the dataset is bi-directional
+  Result := inherited;
   CheckActive;
   CheckActive;
   if IsEmpty then exit;
   if IsEmpty then exit;