Results 1 to 4 of 4
  1. #1
    riggsdp is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Posts
    25

    Crash when clicking on button with embedded macro

    When clicking on a button with an embedded macro in Access 2010, the application is crashing. It usually crashes right after loading Access and clicking on the buttons, then, after a while will work a few times, then start crashing again. The buttons are just opening a form but I get the following error message, which I believe means that the application has malfunctioned and is trying to reference NULL:

    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: MSACCESS.EXE


    Application Version: 14.0.7104.5000
    Application Timestamp: 51ce12f7
    Fault Module Name: MSACCESS.EXE
    Fault Module Version: 14.0.7104.5000
    Fault Module Timestamp: 51ce12f7
    Exception Code: c0000005
    Exception Offset: 000fca03
    OS Version: 6.1.7601.2.1.0.256.4
    Locale ID: 1033
    Additional Information 1: c3d2
    Additional Information 2: c3d2796f57bf8f0f015fe1cefa82ba2b
    Additional Information 3: 73c7
    Additional Information 4: 73c73978374743d3cb1d140dc61b71f0

    When I tried to change the macro code to vba, the "Convert Macros to Visual Basic" is grayed out so I tried to change it to an event procedure to open the form. However, that gives me a "Run-time error '28': Out of stack space" error.

    I've checked my vba code and cannot find any recursive calls. I do have quite a bit of code but the code seems to be working fine.

    Any assistance would be appreciated.

    Access 2010, version 14.0.7128.5000 (32-bit), 16GB RAM

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    I can't recall ever seeing any error message like that.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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
    riggsdp is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Posts
    25
    It's not currently crashing. I went into the forms it was calling, removed all the fields and added them back. Just odd since the fields are exactly the same as before but now everything works.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Dang! I should have suggested that. Anytime something looks really weird, corruption is a strong possibility.
    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.

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

Similar Threads

  1. Embedded Macro
    By balajigade in forum Macros
    Replies: 6
    Last Post: 04-02-2014, 05:28 AM
  2. VBA to Embedded Macro
    By mrmims in forum Macros
    Replies: 4
    Last Post: 03-11-2014, 01:28 AM
  3. Replies: 2
    Last Post: 06-30-2013, 09:59 AM
  4. Embedded Macro not there
    By notacluewhatimdoing in forum Forms
    Replies: 4
    Last Post: 03-23-2013, 08:04 AM
  5. Embedded Macro
    By sireesha in forum Forms
    Replies: 1
    Last Post: 12-08-2012, 02:28 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