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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close Access in Code 1

Status
Not open for further replies.

ErnNJ

Programmer
May 2, 2002
21
US
I know how to close an open database in code (Application.CloseCurrentDatabase) but is it possible to close Access as well? My users click on a form shortcut to bring up the DB and I would just like it if my app closed Access from a button on a form instead of just the database. Thanks in advance.
 
DoCmd.Quit

This will close the current database and Access. Programming isn't a profession of choice.
It's a profession of calling...
"Hey Programmer, your application broke again!" [spin]

Robert L. Johnson III, A+, Network+, MCP
Access Developer/Programmer
 
Great, thanks Robert. I figured it had to be that easy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top