- Local time
- Today, 02:18
- Joined
- Feb 19, 2002
- Messages
- 46,955
@KitaYama I read your explanation. YOU think you need to control the process by controlling the "x". I disagree.
When the typical poster wants to stop Access from closing, it is because he doesn't understand how to use form events correctly so he is trying to enter "God mode" by stopping Access from closing, thinking that is the "solution"
Perhaps @stu_c knows more than what is indicated by the question. However, since he is using macros, it is not likely he is well versed in how to control Access.
You have all done your duty. You answered the SPECIFIC question that was asked and JUSTIFIED why preventing Access from closing is valid. OK, I give up. The OP will go away happy because he thinks he stopped Access from closing until the method fails due to something beyond his control. Users do some seriously stupid things. I had one who figured out how to put the Shrinker/Stretcher code into an infinite loop and crash Access. I had one programmer who brought down the entire CICS test region by trying to stop the user from closing the app without finishing which was actually really good because if he hadn't, his code would have gone into production where it would have brought 4,000 users crashing down the first time someone tried to exit out of the form without finishing.
That is correct. My POINT which everyone seems to be missing, is that ultimately, the developer does NOT have the final control over whether or not the app closes. You can try your darndest to stop Access from closing but in the end, you can't. Therefore, maybe, there might be a better option. We have no idea what prompted this question and we are unlikely to get a business case for the request so we are working without a net.We cannot forget that there are no update events on an unbound form,
When the typical poster wants to stop Access from closing, it is because he doesn't understand how to use form events correctly so he is trying to enter "God mode" by stopping Access from closing, thinking that is the "solution"
Perhaps @stu_c knows more than what is indicated by the question. However, since he is using macros, it is not likely he is well versed in how to control Access.
You have all done your duty. You answered the SPECIFIC question that was asked and JUSTIFIED why preventing Access from closing is valid. OK, I give up. The OP will go away happy because he thinks he stopped Access from closing until the method fails due to something beyond his control. Users do some seriously stupid things. I had one who figured out how to put the Shrinker/Stretcher code into an infinite loop and crash Access. I had one programmer who brought down the entire CICS test region by trying to stop the user from closing the app without finishing which was actually really good because if he hadn't, his code would have gone into production where it would have brought 4,000 users crashing down the first time someone tried to exit out of the form without finishing.