Solved

hidden message boxes

Posted on 2013-11-20
3
254 Views
Last Modified: 2013-11-20
Dear experts -
I have one or two forms where in some cases (I just experienced this while logging in remotely via remote desktop) I am in a form and invoke another form, with some intervening message boxes.
The message boxes don't appear on top, but they are there and stop the program, as expected. I need to click somewhere else on the screen and then they appear.
Has anyone seen this and is there an easy fix?
Both the calling form and the called form are set to modal+popup.
Thank you
0
Comment
Question by:terpsichore
3 Comments
 
LVL 35

Accepted Solution

by:
PatHartman earned 500 total points
ID: 39664243
I have had this happen to me so you're not nuts but I don't have a solution.  It is possible that the problem occurs because you already have a modal form open and so the message box can't display itself on top of that.
0
 
LVL 84
ID: 39664245
Anytime I see behavior like this I think of corruption, so first thing would be to insure that your database maintenance is up to date.

First make a backup, then Compact the database. Next, Compile the database - from the VBA Editor click Debug - Compile, and fix any errors you might find. Continue doing this until the Compile option is disabled. Now compact again.

You might also consider a Decompile after doing this. To do that, build a Shortcut with this as the Target: "Full path to msaccess.exe" "full path to your db" /decompile. Run this shortcut, then do the Compact-Compile-Compact sequence again.

Finally, you might also consider moving everything to a new, blank database container. You can use the Import function in Access to do this.

Also be sure that all machines, including the one running the VMs, is fully up to date in regard to Windows and Office (and any specialized VM software that is being used).
0
 

Author Closing Comment

by:terpsichore
ID: 39664279
actually, this was the solution - the clue in this case was that the message box was directly covered by the invoked form - if i switch off both modal and popup, I don't have the issue. I'll have to fiddle with those setting a bit more, or ensure that the form doesn't appear until the message box goes away.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

770 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