Robert W.B. Linn´s Software, Beispielprojekte und Tipps zu TurboDB, TurboDB VCP, TurboDB Studio, Visual Data Publisher
   
Howto ... repair all indices in a single file database?
TurboDB VCL Übersicht  Alle Topics 
Komponenten TurboDB und TMS Component Pack  »  TurboDB - HowTo  »  Howto ... repair all indices in a single file database?  | 

Use
for d := 0 to TdbDatabase1.DataSetCount - 1 do begin
 with TdbDatabase1.DataSets[d] as TTdbTable do begin
  for i := 0 to IndexDefs.Count - 1 do begin
   UpdateIndex(TdbTable1.IndexDefs[i].Name);
  end;
 end;
end;
Tested with TurboDB 4 für VCL.


Letzte Änderung 02.01.2012 18:53 Erstellt mittels KALHelp Version 6.8 (02-01-2012) (alle Rechte vorbehalten) (c) Robert W.B. Linn @53° 38' 60''N 9° 48' 0''E