Hi Calvin.
>If you are using the SDT Reindex command with the pack flag set to true you should be aware that if the reccount for the table is corrupt that after the reindex is finished any unreported records are physically gone from the table and cannot be restored. The Repair Command is SDT 6.0 allows pack to take place and restores the reccount to the correct number of records.
That makes sense. Reindex() expects that the table header is good but the indexes aren't. If the header isn't good, it can't do its job properly. That's why Repair() is there. Since Repair() also calls Reindex(), you might consider calling it rather than Reindex() given the problems you've been having lately.
Doug
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