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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only