Toggle Forms Without Stopping Code

LadyDi

Registered User.
Local time
Today, 15:45
Joined
Mar 29, 2007
Messages
894
I currently have two forms. One being my main form and the other being a pop-up form to update e-mail addresses. On my main form, I have a button that is currently programmed to generate several e-mails. Before those e-mails are generated, I would like the pop-up form to appear asking for any updates to e-mail addresses. Once the pop-up form is closed, I would like the code on my main form to continue. Can I do that?

Any assistance you can provide would be greatly appreciated.
 
Open the pop up form in Dialog mode. This will suspend code operation in the calling form until the pop up form is closed. Example;

DoCmd.OpenForm "frmYourPopup", , , , , acDialog
 
That works perfectly. Thank you.
 

Users who are viewing this thread

Back
Top Bottom