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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with old DBF files

Status
Not open for further replies.

timeslice

IS-IT--Management
Sep 13, 2002
17
BR
Hi all,

I'm having problems with DBF files. Some of them are not corrupted, but some information inside it are lost, with unreadable data.
My questions are:

1- Why did this files get some information corrupted, and not all the file?
2- How can I recover this data? I tried ADR, with no success.

Any help in this case will be very welcome.

Thanks,

Marcelo Palenzuela
 
Hi Timeslice,

The partial corruption is because the clipper application will 'buffer' the changes that are being made before writing them to disk, and if the power fails before the write is finished - your file is spoilt.

The good(ish) news is that the file format (memo fields aside) are generally of a fixed length for each record.

SO, in GENERAL, if you create a new table with the same structure you should be able to do an APPEND FROM to get the good data back - you'll still lose the spoilt stuff.

Regards

Griff
Keep [Smile]ing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top