Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to close access on click

Status
Not open for further replies.

vangx222

Technical User
Jun 6, 2007
36
0
0
US
Hi. I used the switchboard to create a control to close my database, however, it ONLY closes my database and leaves the blank Access screen behind.

My question is, is there a way to close everything on click? If yes, can you tell me how (what codes) and where I'd place it? Would it be in the On Click event of the control on the switchboard?

Thanks a bunch!
 
try docmd.quit

--------------------
Procrastinate Now!
 
YEUP! Works AWESOME!

Thank you Crowley16
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top