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

how to exit microsoft access?

Status
Not open for further replies.

jonra

Programmer
Jul 20, 2003
42
SG
how to exit microsoft access totally aft clickin a button?
thanks..
 
jonra,

To exit access on the Click event of a command button, use;

Code:
Private Sub CommandButton_Click()

     DoCmd.Quit

End Sub

hope this helps.

Leigh Moore
Solutions 4 MS Office Ltd
 
There is a good example of this in the main switchboard of Northwind sample database.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top