?
Solved

hidden message boxes

Posted on 2013-11-20
3
Medium Priority
?
264 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
[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
3 Comments
 
LVL 38

Accepted Solution

by:
PatHartman earned 2000 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 85
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Suggested Courses

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