Switchboard form -Close application & ACCESS 2000

V

Vivian

What command command number do I use to get the cmd button
to close the appplication AND close ACCESS 2000. In the
edit Switcboard items I only have the option of closing
the application. I would like to have the "exit" cmd
button close the app and Access.
thanks
 
J

Joan Wild

Open the switchboard form in design view and choose View, Code. Find the
function called
HandleButtonClick. Change the following

Case conCmdExitApplication
CloseCurrentDatabase

to

Case conCmdExitApplication
Application.Quit
 
Top