I do not think that you can. Any form that opens as a dialog window halts execution, and as far as I know there is no why to change that on a standard message box. You could build your own form to emulate this, and if it is not dialog then code execution would continue.
I believe he is using a standard MsgBox w/ vbYesNoCancel. The trouble is that MsgBox dialogues are basically modal, requiring user input before the code will continue.
I believe the solution is exactly what MajP suggested. Create an unbound form to emulate a vbYesNoCancel box, and as long as the forms Modal property is set to no, it should allow code to continue executing even if the user hasn't interacted with the form.
~Melagan
______
"It's never too late to become what you might have been.
I may not have explained it correctly but what i needed was this "DoCmd.Setwarnings False" at beginning of procedure and "DoCmd.Setwarnings True" where I want box to popup
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.