Switchboard Manager Exit

S

Steven W

When I wish to Exit the Switchboard, I only depart my
database and not the entire application ie. MS Access
remains with a large blank screen. It's easier enough to
exit via controls at top right corner, but I'd prefer if
the Exit was from MS Access application (as stated within
the Swichboard Mgr controls) Any advice gratefully
accepted.
 
F

Fredg

Steven,
Display the switchboard's code window.
Find the line:
Private Function HandleButtonClick(intBtn As Integer)

Then look further down until you find the
lines that say:
Case conCmdExitApplication
CloseCurrentDatabase

Change
CloseCurrentDatabase
to:
DoCmd.Quit

Save the changes.
--
Fred

Please reply only to this newsgroup.
I do not reply to personal e-mail.
Remove nothing from my address
 

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

Top