Repairing Corrupt Table Headers

This option is only relevant for the Embedded database.

 

Special Note

Under certain circumstances, a program crash can cause the header portion of your tables to become corrupted. Table-header corruptions can cause further damage to your data and indexes and must be addressed.

If header-integrity checking is enabled in a table's parameters , then DataFlex will display an error message and stop the application from accessing the table while it is corrupted.

Database Builder can repair corrupted table headers provided header-integrity checking is enabled in a table's parameters. To start a repair operation, select Repair from the Maintenance menu, select the tables that you wish to perform a repair operation upon and press the Repair button.

Where possible, each table is repaired. If a table needs no repair, you will see a message to that effect. If an .HDR file cannot be found, or if header-integrity checking is not enabled for a table, you will see a message to that effect, and nothing is done to that table.

When you elect to repair a table, its header is subjected to two separate CRCs (Cyclic Redundancy Checks), and the results are compared with CRC numbers maintained in the header. If one or both checks fail, the repair process is started.

 

See Also

Database Maintenance