Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REINDEXING FILES
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00148929
Message ID:
00149930
Vues:
32
>I want to have a program that re-inexes all the tables. I set exclusive on and then close all tables. Then I open each one exclusive and issue a reindex command. I get the message that the file is already open & it isn't open exclusive. What should I be doing?
>
>
>Thanks.

Instead of checking the tables, try to get exclusive on the database. If you can't get exclusive, someone else has the database open. If you get it, do your
indexing. One bit of thought here. I used to use reindex too, but one day if an index goes corrupt, reindex won't help. You might try either DIRT as suggested here in the files section or it is easy enough for you to trap the the info to an array and then do a delete tag all and index instead of reindex.

Steve
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform