Hello,
I am creating a temporary form programmatically with a large number of controls to interact with the user. I do not need to save the form when the user exits the application or if he decides to close the form. However, when I try to docmd.setwarnings false in the unload event, the form still asks me for a name for my form. If I don't set docmd.setwarnings false, I get the dialog box which asks me whether I want to save or not.
My question is, how can I prevent the user from seeing the close dialog box if he closes the form or the application?
Thanks,
Dave
I am creating a temporary form programmatically with a large number of controls to interact with the user. I do not need to save the form when the user exits the application or if he decides to close the form. However, when I try to docmd.setwarnings false in the unload event, the form still asks me for a name for my form. If I don't set docmd.setwarnings false, I get the dialog box which asks me whether I want to save or not.
My question is, how can I prevent the user from seeing the close dialog box if he closes the form or the application?
Thanks,
Dave