Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I allow user input while code is running. 3

Status
Not open for further replies.

ChaseMIS

MIS
Jul 31, 2001
23
US
I have a module that opens a form which requires user input. My question is, how can I pause the code to wait for that input? The information I want the user to update is too complex to use a simple input box, but that is the functionality I am trying to duplicate.

One proposed solution from a team member is to end the module when I open the form that requires user input, and then call a different procedure that completes my calculations after the user had finished. That seems a little circuitous. I am looking for a cleaner way if you have any ideas.
 
Use a form but set its windowmode property to acdialog it will halt code till input is received
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top