How To Fix Access Runtime Error “Execution Of This Application Has Stopped”?

0 votes
asked Jul 25, 2018 in MS Access Issues by Jhon

Hi Everyone,

I have recently switched to MS Access 2010 application for more enhancing features and updates. I have created package solution with Access 2010 runtime. It install successfully but when i open programe, i receive “Execution Of This Application Has Stopped” run-time error.

Any suggestions for how to trouble shoot this or to somehow trap the error in code so that I can get a better, more informative error message?

1 Answer

0 votes
answered Jul 25, 2018 by lucy (980 points)

 Are you getting the error when trying to run the copy of the application on your PC?  If you don’t it then some kind of environmental issue such as permissions or a missing library.

Make sure that all your procedures include error trapping.  Include in the error message, the name of the procedure, the error number, and the error description.


    Select Case Err.Number

        Case 2501

            Resume Exit_Proc

        Case Else

            MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure cmdSave_Click of VBA Document Form_frmEmployees"

    End Select

Welcome to Q&A - Access Repair N Recovery, where you can ask questions and receive answers from other members of the community.