|
-
Feb 23rd, 2012, 11:16 AM
#1
Thread Starter
Don't Panic!
[RESOLVED] How to recover a corrupt mdb
Hi
Very annoyed at the moment. I should have backed it up this morning and didn't. Now its corrupt.
Not only is it corrupt its so corrupt it won't let me in to copy the code.
Compact and repair helpfully tells me that its corrupt and I should copy it and use compact and repair.
:/
Any ideas of how to get in?
Or just head down and re-code?
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Feb 24th, 2012, 05:24 AM
#2
Re: How to recover a corrupt mdb
Compact and repair helpfully tells me that its corrupt and I should copy it and use compact and repair.
did you try to repair a copy? maybe corruption on disk
no earlier backups?
you could try a hex editor to see if you can find the vba code in the file
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Feb 24th, 2012, 05:58 AM
#3
Thread Starter
Don't Panic!
-
Feb 24th, 2012, 06:01 AM
#4
Re: [RESOLVED] How to recover a corrupt mdb
Hints for others : remember to back up after doing anything with APIs before you run it!
especially subclassing
also on faster machines ctrl break may not work in endless loops, this crashes my excel too often
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|