Minimize Access then cant restore

P

paul

In Access 97 SR2-a, when I display a modal form, I can
minimize the MS-Access Window. After that, I can never
restore it, and I have to kill Access.
This only happens after I click a button on the modal
form that triggers VB code. Before I click the button, I
can't minimize the Access window. It's only when my VB
code is running that this happens.
When the form is displayed with docmd.openform, dialog
style is specified. I have experimented the various form
properties, e.g. display control box, display max-min
buttons, form view only, etc., but nothing solves this
problem. Help would be appreciated!
 
S

StCyrM

Hi Paul

This condition is mentioned in Microsoft Article Q148834, How to Minimize,
Maximize, and Restore MS Access 7.0/97

Best regards

Maurice St-Cyr

Micro Systems Consultants, Inc.
 
P

paul

Thanks for the information. However, instead of writing
code to minimize/maximize Access, I would like to know
why the minimize button for the main Access window is
responsive to a mouse click when a modal dialog is
displayed. Isn't this incorrect behavior? And once the
window is minimized, it can't be restored.

Before I click a button on the modal form to run some VB
code, the minimize button of the main Access window does
not respond to mouse-clicks, as expected. It's only
while my code is executing that Access can be minimized
by clicking the minimize button on the main Access
window, while the modal form is displayed (and then the
Access window can't be restored).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top