Results 1 to 7 of 7
  1. #1
    gg80 is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    328

    Computer locks on a code error


    I am using W7 with A2007. Very often, when my code finds an error, I can't just fix it. The program locks up at the offending line. I then have to activate the task manager etc. I didn't have the problem in A2000. Is this a a2007 thing or is my system having a problem?. Any help much appreciate. I am about ready to fix my old computer and go back to something more stable.

  2. #2
    khalid's Avatar
    khalid is offline MS-Access Developer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2010
    Location
    Kuwait
    Posts
    244
    Hi,

    Did you try to Compact & Repair Database??? this occors if your codes are not compiled and left bugs in there...

  3. #3
    gg80 is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    328
    Hello again. I will give it a try and see how goes. Thanks for uick reply.

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by gg80 View Post
    Very often, when my code finds an error, I can't just fix it. The program locks up at the offending line. I then have to activate the task manager etc.
    then you're working with an executable file. deploying an app into an executable with test running codes and procedures is not standard.

    check your stuff first!

  5. #5
    gg80 is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    328
    Good point, but I have tried the immediate window feature a few times but never seemed to see get the purpose. Maybe don't know how to use it correctly. I will make another effort. I should also use the run-time error trap procedure more, at least during development. With A2000, hangups were a rare occurrence. A2007 seems to be standing by just waiting for some excuse to lock up.

    Thanks for taking time to reply.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    If this resolves this issue then go ahead and use the Thread Tools and mark this thread as Solved.

  7. #7
    khalid's Avatar
    khalid is offline MS-Access Developer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2010
    Location
    Kuwait
    Posts
    244
    Quote Originally Posted by gg80 View Post
    Good point, but I have tried the immediate window feature a few times but never seemed to see get the purpose. Maybe don't know how to use it correctly. I will make another effort. I should also use the run-time error trap procedure more, at least during development. With A2000, hangups were a rare occurrence. A2007 seems to be standing by just waiting for some excuse to lock up.

    Thanks for taking time to reply.
    Goto>>>>the VBA design mood Debug>>> and complie the Application. see what happns, you will get errors highlited with yellow color.

    For getting the immediate window, press Ctrl+G in the VBA design mood.

    Hope this help.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Report w/ Subreport locks up Access 2007
    By guyc in forum Reports
    Replies: 4
    Last Post: 05-12-2011, 09:22 AM
  2. Copy Database Code Error
    By Tomfernandez1 in forum Programming
    Replies: 5
    Last Post: 05-03-2011, 12:21 PM
  3. Access 2010 - Error Code 438 Problem
    By Lexus350 in forum Access
    Replies: 5
    Last Post: 03-03-2011, 11:46 PM
  4. Error in form code
    By devesa in forum Access
    Replies: 3
    Last Post: 05-25-2010, 10:15 AM
  5. Error in Code
    By Lockrin in forum Programming
    Replies: 3
    Last Post: 02-25-2010, 03:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums