.dbf has become corrupted

By HermesSeena ·
Hi experts,
I am using a system compiled in VFP 9.0. A day or two ago I received an error which says that filename.dbf has become corrupted. To be specific the error number is 2005, Error loading file - record number 28. Just for the record, it can be repaired by appending a copy from temp file, created with VFP 6. What gives?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Use .dbf database recovery

by Stefanj.hickman In reply to .dbf has become corrupted

.dbf database file gets corrupted due to the unexpected system shutdown, software crash, virus attack, media corruption and bad sectors on disk. To restore or getting Errors you can even use DBF Database Recovery is a reliable tool to repair your DBF files created in MS FoxPro or recover corrupted and broken DBF files. This software detects the exact file format and database which is created by DBF file.

Read more:-

Collapse -

Check TableValidate

by Mosswort In reply to .dbf has become corrupted

Tell me at first, what is the setting of TableValidate? Because the older version-tables don`t have the AutoInc bytes in the Header. This why you could get an error, because the position of the counter bytes is different check, so VFP can`t validate the record count, the values don`t match up.
For this issue solution is to set tablevalidate = 0

In case if the method above doesn't help, then try to solve this issue through any third-party tool. I can recommend you Recovery Toolbox for DBF. You can download a trial version.

Related Discussions

Related Forums