A client has a corrupted database. a file is showing 197,000 records but only about 10,000 are actually valid. The rest display as blank.
First I utilized DBF Doctor to do a repair but it only found about 30 bad records.
Then I used DBU to filter out only valid records, and tried to export them. I used the filter .NOT. EMPTY( fieldname ). However they must have something embedded in there because the filter doesn't work.
I used Advantage Architect to also try to filter out the blanks, but that doesn't eliminate them either.
Does anyone have suggestions for a really good DBF file repair tool ? Lots claim to be but I think they all do the same thing. Back in the DOS days we had a great one but it never transitioned to Windows ( or 32 bit ).
I appreciate your input.
Tim
DBF Repair Tools
DBF Repair Tools
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Re: DBF Repair Tools
Tim, What tool are you referring to?
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Re: DBF Repair Tools
There are software programs that fix .dbf files that have been corrupted. There are several on the internet but some may not be legitimate.
Repairs might including repair of headers, removing non data characters, removing false end of file markers, etc. They also can re-align records are offset.
Most errors are OS/disk caused, often from adding in sectors from the drive that don’t belong.
Sent from my iPhone using Tapatalk
Repairs might including repair of headers, removing non data characters, removing false end of file markers, etc. They also can re-align records are offset.
Most errors are OS/disk caused, often from adding in sectors from the drive that don’t belong.
Sent from my iPhone using Tapatalk
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
- James Bott
- Posts: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: DBF Repair Tools
Tim,
Finally, you can add a routine to check for those offending characters in the Save() method so each time a record gets saved it is fixed before saving.
James
I would write a routine to replace all the fake blank fields with all real blanks. Of course, you first need to find out which non-blank characters are showing visually as blanks.Then I used DBU to filter out only valid records, and tried to export them. I used the filter .NOT. EMPTY( fieldname ). However they must have something embedded in there because the filter doesn't work.
Finally, you can add a routine to check for those offending characters in the Save() method so each time a record gets saved it is fixed before saving.
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- Giovany Vecchi
- Posts: 223
- Joined: Mon Jun 05, 2006 9:39 pm
- Location: Brasil
Re: DBF Repair Tools
Tim, how are you?
Are the DBFs you refer to being managed by the Advantage Database Server?
If it's ads, do you use free tables or a data dictionary?
Are the DBFs you refer to being managed by the Advantage Database Server?
If it's ads, do you use free tables or a data dictionary?
Re: DBF Repair Tools
In this case, no. Using data architect, I tried filtering for not empty but it still includes them
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
- James Bott
- Posts: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: DBF Repair Tools
Tim,
Can you tell us which characters aren't visible? Better yet would be a few records that contain the problem characters.
James
Can you tell us which characters aren't visible? Better yet would be a few records that contain the problem characters.
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10