Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Sep 2002
    Location
    Stafford, Staffordshire, England
    Posts
    585
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exit application (XP)

    I am exiting the application using a button on a switchboard. However, instead of exiting Access completely, it only closes the current db.

    I've found the underlying code which reads:

    Case conCmdExitApplication
    CloseCurrentDatabase

    How can I modify this to exit completely?

    Thanks in advance.
    <font color=blue><font face="Script MT Bold"><big>Rob</big></font face=script></font color=blue>

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Exit application (XP)

    Use :
    Application.Quit
    instead of
    CloseCurrentDatabase
    Francois

  3. #3
    4 Star Lounger
    Join Date
    Sep 2002
    Location
    Stafford, Staffordshire, England
    Posts
    585
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Exit application (XP)

    Thanks Francois. I'd forgotten I knew that.
    <font color=blue><font face="Script MT Bold"><big>Rob</big></font face=script></font color=blue>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •