Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Corrupt DB3 file - need help

Status
Not open for further replies.

Maximark

Technical User
Oct 4, 2002
16
CA
Does anyone know how to fix a really corrupt db3 file.
I have tried using struct but it still comes back corrupt.

Things might have shifted but not sure.
 
Can you open the file at all?

There's always a better way...
 
I can open it in wordpad. Looks ok???

But to import through Access it doesn't or through excel it doesn't. Says the format is not recognized.
 
It sounds like the file descriptor bytes are damaged. Wordpad isn't the ideal method because it won't show you any errors, corrupted data, record numbers, etc. However, it may be the only way you'll be able to save the file. Here are a few suggestions:

1. Try to open the file in a dBase program - if you have one. If successful, you may be able to see exactly where the corruption starts and how extensive it is. If you see what appears to be "garbled" data, delete the garbled records and pack the file. I doubt you'll be able to use this method but it's worth a try.

2. Open the file in Wordpad, then save it with a .TXT extension. Then, try to open it in Excel. You'll have to tell it where the fields start & end. A little confusing and time consuming but a small price to pay to recover the file. Note: DO NOT ALTER any of the data while the file is open!

3. If all the above doesn't work, then you can print the contents of the file and manually re-enter into a new table. Last resort type of thing but it all depends on how you value the data.

There's always a better way...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top