Browse Source

* Fetch all records before building an index using IndexFieldNames

git-svn-id: trunk@12428 -
joost 16 years ago
parent
commit
5703c2a888
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

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