![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I recently upgraded a 2003 mdb to a 2007 accdb. *There is one form in this accdb that causes 2007 to crash after it closes and compacts. (the standard "M O A has encountered a problem and needs to close...." message with an option to restart Access) *After placing debug breakpoints in various spots in the code, I've determined that it crashes Access when the form open event fires but before the first line of code is executed. I can use the form repeatedly while the accdb is open. *2007 crashes only after it's closed. *If I don't open this form, the 2007 closes and compacts normally...no crash. I took the automatic compact out - no change. I recreated the form - no change. This is a good-sized accdb with lots of forms. *The coding is all VBA, there are no macros except for Autoexec to open the main menu form, and is fairly straight-forward. *Nothing fancy going on. I'm curious if there's some kind of property setting on the form or accdb that would cause this kind of behavior. I've been researching this problem online and unfortunately there's a million reasons why 2007 might crash. *I'm hoping that someone has had a similar problem to mine. Thanks for any help or advice. |
#3
| |||
| |||
|
|
On Mar 8, 10:57*am, emanning <emann... (AT) kumc (DOT) edu> wrote: I recently upgraded a 2003 mdb to a 2007 accdb. *There is one form in this accdb that causes 2007 to crash after it closes and compacts. (the standard "M O A has encountered a problem and needs to close...." message with an option to restart Access) *After placing debug breakpoints in various spots in the code, I've determined that it crashes Access when the form open event fires but before the first line of code is executed. I can use the form repeatedly while the accdb is open. *2007 crashes only after it's closed. *If I don't open this form, the 2007 closes and compacts normally...no crash. I took the automatic compact out - no change. I recreated the form - no change. This is a good-sized accdb with lots of forms. *The coding is all VBA, there are no macros except for Autoexec to open the main menu form, and is fairly straight-forward. *Nothing fancy going on. I'm curious if there's some kind of property setting on the form or accdb that would cause this kind of behavior. I've been researching this problem online and unfortunately there's a million reasons why 2007 might crash. *I'm hoping that someone has had a similar problem to mine. Thanks for any help or advice. Just a thought. Before Access 2007 you could use custom menus and tool bars on forms. Is your form perhaps referring to a missing or non existent menu bar?- Hide quoted text - - Show quoted text - |
#4
| |||
| |||
|
|
I recently upgraded a 2003 mdb to a 2007 accdb. There is one form in this accdb that causes 2007 to crash after it closes and compacts. (the standard "M O A has encountered a problem and needs to close...." message with an option to restart Access) After placing debug breakpoints in various spots in the code, I've determined that it crashes Access when the form open event fires but before the first line of code is executed. I can use the form repeatedly while the accdb is open. 2007 crashes only after it's closed. If I don't open this form, the 2007 closes and compacts normally...no crash. I took the automatic compact out - no change. I recreated the form - no change. This is a good-sized accdb with lots of forms. The coding is all VBA, there are no macros except for Autoexec to open the main menu form, and is fairly straight-forward. Nothing fancy going on. I'm curious if there's some kind of property setting on the form or accdb that would cause this kind of behavior. I've been researching this problem online and unfortunately there's a million reasons why 2007 might crash. I'm hoping that someone has had a similar problem to mine. Thanks for any help or advice. |
#5
| |||
| |||
|
|
I recently upgraded a 2003 mdb to a 2007 accdb. *There is one form in this accdb that causes 2007 to crash after it closes and compacts. (the standard "M O A has encountered a problem and needs to close...." message with an option to restart Access) *After placing debug breakpoints in various spots in the code, I've determined that it crashes Access when the form open event fires but before the first line of code is executed. I can use the form repeatedly while the accdb is open. *2007 crashes only after it's closed. *If I don't open this form, the 2007 closes and compacts normally...no crash. I took the automatic compact out - no change. I recreated the form - no change. This is a good-sized accdb with lots of forms. *The coding is all VBA, there are no macros except for Autoexec to open the main menu form, and is fairly straight-forward. *Nothing fancy going on. I'm curious if there's some kind of property setting on the form or accdb that would cause this kind of behavior. I've been researching this problem online and unfortunately there's a million reasons why 2007 might crash. *I'm hoping that someone has had a similar problem to mine. Thanks for any help or advice. |
![]() |
| Thread Tools | |
| Display Modes | |
| |