Ver Fonte

* Fetch all records before building an index using IndexFieldNames

git-svn-id: trunk@12428 -
joost há 17 anos atrás
pai
commit
5703c2a888
1 ficheiros alterados com 1 adições e 0 exclusões
  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;