How to know if the DBF file is corrupted or not

adalgerdrewes

Beta member
Messages
1
Location
Germany
hi all
i have ms access procedure for importing dbf files into ms access
but i face a problem with corrupted files
is there any code to detrmine if DBF file is corrupted or not to make

exception for it ?
 
Re: HOW TO KNOW IF THE DBF FILE CORRUPTED OR NOT

And at last, below the guide how to recover .dbf file, see steps...

1. Open the dBase command line from the Windows Start menu.

2. Log into the local dBase software with your username and password.

3. Click on the dBase command line section of the window that is open.

4. Type "dbf /recover yourDbaseFile.dbf" into the command line, where "yourDbaseFile.dbf" is the name of the dBase file whose tables are corrupted.

Press "Enter." dBase takes some time (ranging from a few minutes to a few hours, depending on the size of the database) to analyze and repair the file and its contents. You are alerted when this process is finished.

Another methods contains referred link and might be effective in case manual ways can't help, look below…
https://getsatisfaction.com/microso...the-dbf-clipper-files?rfm=1&topic_submit=true - a lot of different opinions and solutions connected with databases
https://dbf.recoverytoolbox.com/ - Recovery Toolbox for DBF - paid software, but it has very high percent of success restoration .dbf files and free demo version
 
Re: HOW TO KNOW IF THE DBF FILE CORRUPTED OR NOT

Doesn't sound like OP necessarily wants to know how to recover corrupt DB, but rather detect it via code.

I'd say find out what error is being thrown when trying to access the DB if it's corrupt, and handle that error accordingly in your application.
 
Back
Top Bottom