Sfoglia il codice sorgente

* Fetch all records before building an index using IndexFieldNames

git-svn-id: trunk@12428 -
joost 17 anni fa
parent
commit
5703c2a888
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      packages/fcl-db/src/base/bufdataset.pas

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

@@ -1348,6 +1348,7 @@ begin
     FCurrentIndex:=FIndexes[1];
     if active then
       begin
+      FetchAll;
       BuildIndex(FIndexes[1]);
       Resync([rmCenter]);
       end;