Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Packing & Reindexing
Message
De
24/11/1996 12:06:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00013305
Message ID:
00013315
Vues:
32
>>The Help files for PACK state that the command rebuilds all open index files. Is it safe to assume that .CDX files, open by definition, are re-indexed?
>
>John
>
>Yes, if associated with the packed Table then they are re-indexed. Memo files are also packed (they can get wild). Please not though the VFP indexes are not the same indexes your Mom & Dad used to use! VFP Tables now have backlinks in the header to the DBC, Primary index info is stored in the DBC, etc. To truly completely reindex you need a third party tool or do a lot of 'head banging'. It took me at least a week to write a routine. Learned a lot...

if you are going to write such a thing
look into the gendbc which can come handy for this

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

Click here to load this message in the networking platform