Browse Source

* TBufDataset.Locate: Set the FilterBuffer when entering the dsFilter state

git-svn-id: trunk@12226 -
joost 16 years ago
parent
commit
ae32715890
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-db/src/base/bufdataset.pas

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

@@ -2805,6 +2805,7 @@ begin
 
 
   // Set The filter-buffer
   // Set The filter-buffer
   StoreDSState:=State;
   StoreDSState:=State;
+  FFilterBuffer:=FCurrentIndex.SpareBuffer;
   SetTempState(dsFilter);
   SetTempState(dsFilter);
   SetFieldValues(keyfields,KeyValues);
   SetFieldValues(keyfields,KeyValues);
   CurrLinkItem := (FCurrentIndex as TDoubleLinkedBufIndex).FFirstRecBuf;
   CurrLinkItem := (FCurrentIndex as TDoubleLinkedBufIndex).FFirstRecBuf;