Suspending code for form input

G

Guest

I have a situation where I need to suspend code to pop up a form asking for
the user's input. When the user provides the input, the form closes and the
code then resumes based on the user's input.

Right now, the code does not suspend and just continues running after the
form is opened. How do I suspend the code so I can get the user's input?

Thanks,

Michael
 
D

Douglas J Steele

Open the pop-up form in Dialog mode. (Use acDialog as the 6th parameter in
the OpenFile method)
 
M

Marshall Barton

Michael said:
I have a situation where I need to suspend code to pop up a form asking for
the user's input. When the user provides the input, the form closes and the
code then resumes based on the user's input.

Right now, the code does not suspend and just continues running after the
form is opened. How do I suspend the code so I can get the user's input?


Open the form in Dialog mode. See Help - OpenForm for
details.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top