Link to home
Start Free TrialLog in
Avatar of NiceMan331
NiceMan331

asked on

HOW TO KNOW IF THE DBF FILE CORRUPTED OR NOT

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 ?
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

No, there is no way to run code to determine if the file is corrupted. You must attempt to connect, and then handle any errors that result from the corrupted database.
Avatar of NiceMan331
NiceMan331

ASKER

Ok , let me know please how to let the code resume and go to the next file if the current searched file is currupted , without stopping the code
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok
i will try it