Solved

Problems with Access popup forms disappearing behind the main form

Posted on 2016-09-30
5
145 Views
Last Modified: 2016-10-01
Hello All

I created a bunch of forms for an Access database I created.  This problem does not happen all the time but when it does I have to shut down the whole Access program and restart it, losing what I did.

I have a Main Form that is maximized to take up the entire screen.  When a user clicks on a button a smaller form pops up in front of the Main.  Now most of the time this works fine, but ever so often the Popup Form blinks and then is behind the Main Form (the way I know this is when I right click on the Access icon on the toolbar and choose close the Main Form disappears and the Popup is on the screen briefly as the whole thing shuts down).

The Popup Form is set as Popup Yes and Modal Yes.  

Here is the line I use on the Main Form to call the Popup - DoCmd.OpenForm "Popup Small Quote Type Add", , , , , acWindowNormal

I cannot use acDialog to open the Popup because the users to not like the way it looks.

Help! :D

Thanks
0
Comment
Question by:alevin16
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 20

Accepted Solution

by:
crystal (strive4peace) - Microsoft MVP, Access earned 350 total points
ID: 41824456
the forms are layered then -- so if someone clicks the main form, it will come to the front.  Perhaps save the forms so the little one opens in the upper left corder and the main form slightly off that so the little one will always have a part of it showing. And perhaps when the little one opens, restore the view.

The properties may be being overridden by opening it as normal.
0
 
LVL 50

Assisted Solution

by:Gustav Brock
Gustav Brock earned 150 total points
ID: 41824549
Double-check this:

The Popup Form is set as Popup Yes and Modal Yes.  

because - by definition - there is no way to get a modal form behind another form - except for popping a new modal form.

/gustav
0
 

Author Comment

by:alevin16
ID: 41824859
Hey Everyone

Thank you all for the advice!  I took your advice gustav and I did do a doublecheck to see if they were set right and they were so I am wondering if there is some sort of odd bug in Access.  

I think I am going to have to try the first idea from Crystal of the Main Form not staying maximized and moving it slightly so that both forms can be gotten to.  I am not a big fan of that (I guess I am just anal and like the Main Form fully maximized) but if it keeps the users from having to shut the program (and of course yell at me :D) then I will do it.

Andy
0
 

Author Closing Comment

by:alevin16
ID: 41824861
Great comments as always from the experts!
0
 
LVL 20
ID: 41824875
you're welcome ~ happy to help
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Return Data From Website in Access 6 59
Excel not storing numeric string correctly 5 44
Deleting pages with no tables 4 28
Access 2003 query, remove dupes 17 26
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question