Repairing corrupt indexes in Access 2007 database
Consider a scenario wherein you are working on an Access 2007 database. There is a power surge and the system shuts down abruptly. You open the database when the power is restored but find that some of the rows in a table are shown as “#Deleted”.
Cause:
The most possible cause of this behavior is that the index has corrupted because of abrupt system shutdown.
Resolution:
To resolve this situation, you should replace the corrupted database with its updated and clean backup. However, if the backup is not updated then you should use the in-built repair utility of Access to repair the indexes. If it still does not help, then you should perform the following steps to recover Access database:
1.Create a query into the table and try to exclude those rows that have been corrupted.
2.Convert it to a Make Table query once you have got the best range of uncorrupted records. You can use it under Query Type on the Query Tools tab in the Access Ribbon.
3.Run the query to create a new table.
4.Delete the old table.
5.Compact the database to remove any pointers to the corrupted table. You can do this by following Office Button | Manage | Compact.
6.Rename the new table as the older one.
7.Recreate the indexes and relationships in the new table. If you are unable to create a relationship, use the Unmatched Query Wizard to identify which records are missing.
This should solve the problem. However, if you are still facing the issue then you should use a third-party Access recovery tool to recover Access database. Such read-only tools are able to recover Access databases by employing fast yet sophisticated scanning algorithms.
|