Close Access from a form

  • Thread starter Thread starter Joe M.
  • Start date Start date
J

Joe M.

I have a menu form with a "close form" cmd button. I would like Access to
close when the button is pushed.Is there a way to do this?

Thanks,
Joe M.
 
Dear Joe,

You can set the On Click event of that button to Docmd.Quit

GeorgeCY

Ο χÏήστης "Joe M." έγγÏαψε:
 
In the button's Click event procedure put:

Application.Quit

Ken Sheridan
Stafford, England
 
use the OnClose event of the form

action would be "Quit" after you clean up any open database and recordsets
 
Back
Top