Docmd.Quit

fentona

New member
Local time
Today, 03:41
Joined
May 12, 2004
Messages
6
I am trying to program a button to close down the whole database using the command Docmd.Quit but it is not working. Do I need to set up a Macro too??? Can somebody please help. Thank you.
 
For your button, go to it's properties, click on the CLICK or DOUBLE-DLICK event, whichever you want (we always use Double-Click so it doesn't get hit accidentally), then the VBA code line is what you say here DoCmd.Quit . That should do it. Good luck. jt
 

Users who are viewing this thread

Back
Top Bottom