Results 1 to 4 of 4
  1. #1
    LonghronJ is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Posts
    150

    Access in foreground

    Is there a simple VBA code to insert in the On Open event of the form to bring Access to foreground? When I use
    Code:
    DoCmd.RunCommand acCmdAppMinimize
    to hide the application window , it tends to hide the entire database behind whatever apps I may have open on screen whenever the .accdr file is executed.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    If you open the app,it's already in the foreground.

  3. #3
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 10 Access 2016
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    Are you using Windows 7 or Windows 8?

    Quote Originally Posted by https://social.technet.microsoft.com/Forums/windows/en-US/c7b0e69b-64b7-437d-9f7b-dde53de6a0a8/new-window-opens-behind-existing-window-how-to-modify?forum=w7itproui
    I had this problem happening in Outlook.
    If I tried to open an email, it would open behind the main Outlook window.
    The same happened if I opened a link in the email - it would open behind the mail.
    The fix that was suggested to me was so simple that I still don't believe it.
    Right click on the task bar and unlock the taskbar, then lock it again.
    Close down OUtlook and re-start it.
    Problem solved! JUst dont know how or why.

  4. #4
    LonghronJ is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Posts
    150
    I am using Windows 7. My colleague has Windows 10 and it's doing the same thing.

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

Similar Threads

  1. generating reports into the foreground
    By CurtisHight in forum Reports
    Replies: 3
    Last Post: 12-20-2013, 04:49 PM
  2. Replies: 4
    Last Post: 10-23-2013, 07:56 AM
  3. Open Word Doc in foreground
    By patrickmcdiver in forum Programming
    Replies: 1
    Last Post: 03-02-2010, 12:26 AM

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