Closing form versus X-iting form

D

Daniel Dickover

What is the programmatic difference between using DoCmd.close acForm command on a button
and clicking the
X button on the top of the window? For some reason when I use the DoCmd it will (sometimes)
clear the form thus giving me an error on my unload event. Is there a way to avoid
having the form cleared. My goal is to have a close button for the form so that the user
will not have to click the tiny X button.

Thanks

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top