By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,844 Members | 1,895 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,844 IT Pros & Developers. It's quick & easy.

How do I get a form to wait for a popup to close?

P: n/a
Is there a way to get the VB code that opens a popup to wait until the
popup is closed before continuing?

Nov 23 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
<Do**@NoEmail.comwrote in message
news:0k********************************@4ax.com...
Is there a way to get the VB code that opens a popup to wait until the
popup is closed before continuing?
Set the form's Modal property to True.

Keith.
www.keithwilby.com

Nov 23 '07 #2

P: n/a
<Do**@NoEmail.comwrote in message
news:0k********************************@4ax.com...
Is there a way to get the VB code that opens a popup to wait until the
popup is closed before continuing?
Specify acDialog as the WindowMode parameter:

DoCmd.OpenForm "MyPopupForm", WindowMode:=acDialog

This will pause your code until the form is closed or hidden (Visible =
False).

Nov 23 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.