Switchboard form -Close application & ACCESS 2000

  • Thread starter Thread starter Vivian
  • Start date Start date
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
 
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
 

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

Back
Top