Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement