I call a Form from a module, and would like to wait for the Form to be closed before completing the rest of that module. What is a proper way to do the waiting?
I have an IsOpen(“formname”) function to check to see if the Form is still open.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
set
WindowMode:=acDialogwhen you initiateDoCmd.OpenFormHere is how it is done from other Office VBA (Excel, Word, VB6, VB.Net)
Call the form modally using the following code
Otherwise: