Call the RepairTable method to repair any damage or corruption that may occur to a table due to an improper operating system or application shutdown. This method will return True if the table is okay and False if there is any damage or corruption present in the table. A table must be closed before this method can be called.
The optional ForceIndexRebuild parameter indicates that you wish to have the RepairTable method rebuild the indexes for the current table regardless of whether the RepairTable method finds any corruption in the indexes. In some rare cases of corruption you may need to pass True for this parameter to fix corruption in the indexes for a table that DBISAM cannot detect.