How do I get a form to wait for a popup to close?
am 23.11.2007 10:20:19 von DougIs there a way to get the VB code that opens a popup to wait until the
popup is closed before continuing?
Is there a way to get the VB code that opens a popup to wait until the
popup is closed before continuing?
news:0k6dk3tp4vkk88qtvvcreiuvro2n7249f0@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
news:0k6dk3tp4vkk88qtvvcreiuvro2n7249f0@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).