Hi. SQL BE and Access FE. Built two stored procedures for users to get prompted for what they want to view. Then built two buttons, one for each of the procedures, that the users would click on. Tried it and all was fine. Next time I opened Access, I got a message after a few seconds saying Access has stopped working. A problem caused the program to stop working correctly. I have other on click events for buttons so not sure what could be going on. Any one have an idea? Thanks.
Error message: Access has stopped working
Collapse
X
-
And no other procedures are being called at that time?
Have you had any issues when compiling or just at run-time?
I know I have had strange occurrences such as yours for no apparent reason. In the past, I have tried creating a new Access FE and importing all the tables, table links and other objects into the new DB, then compile it and it works fine.Comment
-
No other procedures. No issues till last week after I built the two buttons. Then I got a restored copy of a backup that was done before the two new buttons. Rebuilt the buttons. Same error message. The message shows up so quick and closes Access that I can not get into the module to look at the VB.Comment
-
Sometimes you can get into a quirky database by opening Access, then opening the database while holding down the Shift key. This will attempt to bypass any startup code.
If you can get into your database this way, I would switch over to code view (Alt-F11) and recompile the code from the Debug menu, save your changes and attempt to re-open the database. Sometimes this works.
Alternatively, You might want to create a blank Access Database and attempt to import all the objects out of the possibly corrupt database into the new/blank database. You would then need to re-link the SQL tables, views and re-create your pass-through queries.Comment
Comment