Results 1 to 4 of 4
  1. #1
    Middlemarch is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2015
    Posts
    365

    Microsoft (and I) have encountered a problem

    I'm getting really fed up with Access 2003 and 'Microsoft has encountered a problem....' after that I can't save my work or even get a screenshot of code. Three times in 2 days and a several hours of work lost.

    It happens as I'm writing code and may have stopped execution, then changed something - e.g. reming out a line or Dimming a new variable. Especially, it seems, when it's anything to do with a Date.
    It then offers to make a backup and eventually you get the database back, but both it and the backup are missing any last changes before the crash. So what's the point of restoring it as you could just load in the backup ?
    I don't suppose there's any way to get back what you lose - or prevent the stupid thing from crashing in the first place ?



    Thanks. I suppose one redeeming feature is, as I redo the code I make it better!
    Last edited by Middlemarch; 08-03-2016 at 05:33 PM. Reason: added version number

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Don't make any changes while still in the debugger.

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I agree with RG.

    Editing code while executing in single step mode is a known cause of corruption and crashes.

    End the execution, make the changes, SAVE the changes, then single step through the code again.
    After making changes to code, I always compile the code. After 3 compiles, I do a Compact and Repair.

    Since following those steps, I have only had 3 crashes in the last 2 years....

  4. #4
    Middlemarch is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2015
    Posts
    365
    OK. Understood... guess I've been lucky until now and got into bad habits.
    Thanks

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

Similar Threads

  1. Replies: 5
    Last Post: 04-01-2016, 11:25 AM
  2. Replies: 4
    Last Post: 07-25-2014, 06:11 AM
  3. Problem creating a search, in Microsoft 2007
    By CoreyBuchan in forum Access
    Replies: 1
    Last Post: 06-26-2012, 08:29 PM
  4. Replies: 1
    Last Post: 05-05-2011, 02:54 AM
  5. A problem occurred while Microsoft Access...
    By nchesebro in forum Programming
    Replies: 16
    Last Post: 03-04-2011, 04:19 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