D
Dave
I've inherited a .MDB and found that the original programmer has an "Exit"
button on the main form "DoCmd.Quit" in the ON CLICK event code.
He also had some code in the ON UNLOAD event for the form.
I now need change the ON UNLOAD event so that the execution of some of the
code in there is dependant on a value in a public variable, but it appears
to me that all public variable have lost scope once "DoCmd.Quit" is
executed. Is this true? Do any variables survive DoCmd.Quit?
Thanks
button on the main form "DoCmd.Quit" in the ON CLICK event code.
He also had some code in the ON UNLOAD event for the form.
I now need change the ON UNLOAD event so that the execution of some of the
code in there is dependant on a value in a public variable, but it appears
to me that all public variable have lost scope once "DoCmd.Quit" is
executed. Is this true? Do any variables survive DoCmd.Quit?
Thanks