IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
Access
Search Access Group:

Advanced
-Collapse +Expand Access Group Home
-Collapse +Expand Message Board
-Collapse +Expand Access KB
-Collapse +Expand Access To/From
To/FromCODEGuides
-Collapse +Expand Access Study Test
PRESTWOODCERTIFIED
-Collapse +Expand Access Store
PRESTWOODSTORE
-Collapse +Expand Members Only

Prestwood eMagazine

May Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyMicrosoft Access BoardAccess VBA Programming Topic     Print This   

Corrupt mdb file

Corrupt mdb file in Access VBA Programming topic (part of our Microsoft Access group).

Quick Search: Corrupt   Corrupt mdb   Corrupt mdb file  

sjmoore

I have an mdb file that appears to have some corruption.  I have run the "compact and repair database" utility several times.  This utility runs without reporting any problems.  However, there are about 5 forms of about 60 in the mdb file that, when modified cause MSAccess to crash.  I have also tried to start with a blank mdb file and cutting and pasting every form, table, query, report, from the old file to the new file and the same problem occurrs with the same forms.

I am desperately hoping for some advice from somebody to hopefully help me save all the code that I have done and not have to build it again to get rid of the problems (it would really be a pain).

 Thanks in advance.

 Posted 5 years ago (Thread Starter)
Comment Quote
Location=Carson City, NV USA,  Joined=5 years ago   MB Posts=2  
More... -Collapse +Expand
sjmoore
 (Inactive)
Carson City, NV USA
Rank: Cadet 3rd Year
Email Inactive E NV USA
Inactive member.
Member does not subscribe to this thread.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.
Post ID #12428, 5 replies
Thread Started 1/20/2008 2:03:56 AM
View Counter=2268
Last Reply Posted 10/27/2011 10:53:27 PM)

Daniel Fought
I've run across this a few times and it has geneerally ended up being easiest to rebuild the forms.  the good news is that you may be able to cut and paste from code and objects from the old form.  Providing you can even open them in design mode.  Give it a try with one of the bad actors and see if the form still give s the problem.

Dan Fought
Senior Programmer Analyst
Prestwood IT Solutions
http://www.prestwood.com

 Posted 5 years ago
Comment Quote
Location=Home office in Fresno, CA.,  Joined=11 years ago   MB Posts=384   KB Posts=11  
More... -Collapse +Expand
Moderator
Daniel Fought
Prestwood IT
Home office in Fresno, CA.
Rank: Captain
Email A E CA USA
Approved member.
Member subscribes to this thread with a verified email.
About Daniel Fought
Danial Fought is a senior programmer analyst with Prestwood IT where he develops custom Windows software and custom websites. When Dan is not coding for clients, he participates in this online community. Coding specialties include Paradox/ObjectPAL, MS Access, Visual Basic, and VS.Net/VB.Net.

Post ID #12706 (Level 1.1)  Reply to 12428
Thread Started 4/25/2008 11:42:25 AM

ParaDelphi
Samantha: Did you ever find an additional tool? I have a similar problem where Access' Compact and Repair doesn't report any errors.

----
Paul "The Coder" Santoro

 Posted 5 years ago
Comment Quote
Location=USA,  Joined=6 years ago   MB Posts=23  
More... -Collapse +Expand
ParaDelphi
USA
Rank: Ensign
Email A E USA
Approved member.
Member subscribes to this thread with a verified email.
About ParaDelphi

Paul has been developing in paradox and delphi since the mid 90s.


Post ID #12703 (Level 1.2)  Reply to 12428
Reply Posted 4/24/2008 5:15:47 PM

sjmoore

Well, as a fluke I ended up finding out what the problem was.  Turns out I had installed Access 2003, SP3.  The SP3 got installed as part of the automatic update feature I have set up with MS.  However, I had another computer that had this feature turned off and still had Access 2003 SP2.  For some reason I ended up modifying the same code on this computer without any problems.  So I started investigating why.

Turns out, Access 2003 SP3 has a nasty bug where the runtime code corrupts its memory and makes the code crash.  The Compact and Repair does not detect any problems because there aren't any with the code.  SP2 does not have this bug.  So I downgraded all my workstations to SP2 and the problem was solved.  I also downgraded my customers and have had no problems since.

 Hope this helps.

 Posted 5 years ago (Thread Starter)
Comment Quote
Location=Carson City, NV USA,  Joined=5 years ago   MB Posts=2  
More... -Collapse +Expand
sjmoore
 (Inactive)
Carson City, NV USA
Rank: Cadet 3rd Year
Email Inactive E NV USA
Inactive member.
Member does not subscribe to this thread.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.
Post ID #12708 (Level 1.3)  Reply to 12428
Reply Posted 4/26/2008 8:30:35 AM

Anonymous

Hi,

  Here are some Access database recovery tools that may help you to repair your mdb file. Below is a list of them:

http://www.datanumen.com/aar/compare.htm

Most of them provide a free demo so you can try first.

Alan

---
Alan
 Posted 19 months ago
Comment Quote
Location=?,  Joined=37 months ago  
More... -Collapse +Expand
Anonymous Post
Anonymous member.

Post ID #14705 (Level 2) and Parent is 12428
Reply Posted 10/27/2011 10:51:37 PM
Most Recent Post

Anonymous

Hi,

  Here are some Access database recovery tools that may help you to repair your mdb file. Below is a list of them:

http://www.datanumen.com/aar/compare.htm

Most of them provide a free demo so you can try first.

Alan

---
Alan
 Posted 19 months ago
Comment Quote
Location=?,  Joined=37 months ago  
More... -Collapse +Expand
Anonymous Post
Anonymous member.

Post ID #14706 (Level 3) and Parent is 12428
Reply Posted 10/27/2011 10:51:37 PM

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post:

Enter your name and security key.

Your Name:
Today's security key = P202A
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #12428 Counter
2268
Since 4/2/2008
-
  Load Time=less than 1 second.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


951 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
Show More...


©1995-2013 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech