Closing form versus X-iting form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Back
Top