The make a form as dialogue box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I make a form appear as a dialogue box, and not as a regular window?
I guess there is a simple answer to this, but unfortunately I cannot find it.
Thanks for any help. I use access 2007.
 
Lars said:
How can I make a form appear as a dialogue box, and not as a regular
window? I guess there is a simple answer to this, but unfortunately I
cannot find it. Thanks for any help. I use access 2007.

The form has two properties Popup and Modal. Popup makes it stay on top, and
Modal causes it to not relinquish focus (except to a later Modal form).

In addition the OpenForm method has an acDialog window option. That causes the
form being opened to be opened as a Modal Popup, but in addition it causes the
calling code (the code that opened the form) to pause until the dialog form is
closed or made hidden. Then the calling code will continue.

I just now see that you are using Access 2007 which means that all of what I
just wrote might not apply at all. I believe you first have to change a setting
that turns off the default "tabbed" interface for forms. Then the above will
apply (I think).
 
Back
Top