Results 1 to 3 of 3
  1. #1
    Johnny12 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Dec 2012
    Posts
    31

    DB crashed when running macro


    I'm having a problem where after a while, when I run a certain marco, the DB will crash out and restart. I can repair/compact all I want but it will just keep crashing. The macro runs 20+ queries. But if I run each query, one by one run (never need to go past qry003), then if I run the macro again, it works just fine. I've included a screenshot of the first half of the macro. Thoughts? How do I trouble shoot? Thanks!


    Click image for larger version. 

Name:	crash.PNG 
Views:	14 
Size:	30.2 KB 
ID:	42509

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Recommend converting to VBA.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Johnny12 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Dec 2012
    Posts
    31
    Such a simple yet 100% accurate fix. Thank you!

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

Similar Threads

  1. Macro for running several queries one after another
    By SebastianColombia in forum Macros
    Replies: 5
    Last Post: 11-06-2015, 02:54 PM
  2. Running macro once per year
    By wlkr.jk in forum Macros
    Replies: 4
    Last Post: 06-12-2014, 01:08 PM
  3. Replies: 3
    Last Post: 06-15-2013, 08:05 PM
  4. running macro in another DB
    By AdrianoG87 in forum Import/Export Data
    Replies: 1
    Last Post: 09-30-2011, 12:31 AM
  5. Running module from Macro
    By Harley Guy in forum Modules
    Replies: 6
    Last Post: 10-27-2010, 11:05 AM

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