Forms Retaining Close Button Properties

B

bassetcm

Maybe I just don't know the correct terms to google, but I can't seem
to find a solution for this seemingly common problem.

Some of my forms have the "X" Close Button disabled and some do not.
The problem is when I open multiple forms, they seem to retain the
view of the previously opened form. So if I open a form with the
Close Button Disabled and then open a form that is supposed to have
the Close Button Enabled, it is not shown (and vice versa). Of
course, if I minimize and maximize manually, it reappears, but this is
not intuitive or convenient for users. I have tried putting
Docmd.Minimize then Docmd.Maximize in my Form Open event, and this
works, but isn't exactly pretty and I fear it would confuse users.

The frustration and need for a fix is that, my users are closing out
of Access completely when they can't find the "X" button on the form
and starting over completely, making for repetitive data or wasted
time.

Any help? Thanks and your time is appreciated!
 
D

Douglas J. Steele

Check the ControlBox property of the forms, as well as their BorderStyle
property (it won't work if BorderStyle is None)
 

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