If you set warning=False and set hourglass to T in your code and have an error statement like
Form_Open_Exit:
DoCmd.SetWarnings True
DoCmd.Hourglass False
Exit Sub
Do you have to reverse the initial settings in the body of the form or does Access go to Form_Open_Exit everytime it exits?
I normally reverse it before the error handling code and then also include it in the exit tag, but I am reviewing someone elses code and they just do it in the exit part.
Thanks[fumanchu]
Form_Open_Exit:
DoCmd.SetWarnings True
DoCmd.Hourglass False
Exit Sub
Do you have to reverse the initial settings in the body of the form or does Access go to Form_Open_Exit everytime it exits?
I normally reverse it before the error handling code and then also include it in the exit tag, but I am reviewing someone elses code and they just do it in the exit part.
Thanks[fumanchu]