S
Syvers
Hi
I need to exit an application if the user closes a certain form in the adp
and am trying to do this via the unload method. basically there can be
various instances of this form but if one instance is a certain one then it
must close the whole application.
If have tried in a blank database by putting DoCmd.Quit in the unload method
of a form and that works so there must be somthing running that is causing
this not to work in my adp. I have also tried putting a button on the form in
my adp just to see if putting DoCmd.Quit in the click event would work and it
did but this is of no use to my application.
Can anyone point me in the direction to find out more i.e. what is blocking
it or links to where this has been asked before as i cant find any.
Thanks
Paul
I need to exit an application if the user closes a certain form in the adp
and am trying to do this via the unload method. basically there can be
various instances of this form but if one instance is a certain one then it
must close the whole application.
If have tried in a blank database by putting DoCmd.Quit in the unload method
of a form and that works so there must be somthing running that is causing
this not to work in my adp. I have also tried putting a button on the form in
my adp just to see if putting DoCmd.Quit in the click event would work and it
did but this is of no use to my application.
Can anyone point me in the direction to find out more i.e. what is blocking
it or links to where this has been asked before as i cant find any.
Thanks
Paul