My company upgraded us this Fall to Microsoft 2007. I am building a database to track employee training and I have had several instances where form controls suddenly stopped working or just crashed Access totally. This morning it happened again.
I am at the point where I am populating the tables with test data to see if everything is working as expected. I have a form to setup mail merge data and on that form I have a "Create Label" button that opens the Label Wizard and it points it to the right query. I borrowed the VB code from the MS Office Contacts template. It was working perfect yesterday, but this morning when I clicked it Access crashed. It continued to crash Access even after Access tried to repair it. I found if I took out the On Error portion of the code that It stopped crashing my database. Then I remembered that when my other forms stopped working right I fixed it by merely renaming the form, open it up, close it, and then renamed it back to the original name again. I restored the original On Error code and then renamed the form. Now the form works again and my "Create Label" button is working like normal.
Are there errors that creep into the form when your building and adding controls that could cause these bugs. Does renaming the form clear some of these errors out?
I am just curios since I have ran into this problem 3 or 4 times since I started building this database.
I am at the point where I am populating the tables with test data to see if everything is working as expected. I have a form to setup mail merge data and on that form I have a "Create Label" button that opens the Label Wizard and it points it to the right query. I borrowed the VB code from the MS Office Contacts template. It was working perfect yesterday, but this morning when I clicked it Access crashed. It continued to crash Access even after Access tried to repair it. I found if I took out the On Error portion of the code that It stopped crashing my database. Then I remembered that when my other forms stopped working right I fixed it by merely renaming the form, open it up, close it, and then renamed it back to the original name again. I restored the original On Error code and then renamed the form. Now the form works again and my "Create Label" button is working like normal.
Are there errors that creep into the form when your building and adding controls that could cause these bugs. Does renaming the form clear some of these errors out?
I am just curios since I have ran into this problem 3 or 4 times since I started building this database.