Results 1 to 2 of 2
  1. #1
    STONEE is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Location
    LAKELAND FL
    Posts
    2

    How to return to desktop from an access process

    I HAVE A PROCESS WHERE I WANTED TO ALLOW USERS TO EXIT THE FORMS AND RETURN TO DESKTOP
    I ACHIEVED THIS BY PLACING COMMAND BUTTONS IN THE FORMS WHICH INDICATED "EXIT APPLICATION".
    IN EACH BUTTONS PROPERTIES, ON-CLICK, EVENT PROCESS, (IT CREATES A VB FUNCTION) INSERT THE LINE
    "DOCMD.QUIT" THIS WILL CLOSE ALL WINDOWS AND RETURN THE USER TO THEIR DESKTOP



    Private Sub Command3_Click()
    DoCmd.Quit
    End Sub

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    What is your question? Do you have an issue with this code?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 9
    Last Post: 12-30-2013, 09:35 AM
  2. Using Access on a Mac through Remote Desktop
    By philsonghurst in forum Misc
    Replies: 3
    Last Post: 06-24-2012, 11:10 AM
  3. Can We Use Access to Make Desktop App
    By irfanullahhosain in forum Access
    Replies: 4
    Last Post: 10-08-2011, 11:50 AM
  4. What is this cubed Access icon on my desktop
    By JeffG3209 in forum Access
    Replies: 3
    Last Post: 05-30-2011, 11:15 PM
  5. Access and Remote Desktop
    By pedsys in forum Access
    Replies: 1
    Last Post: 10-08-2010, 10:42 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums