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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Waiting a Form to Close before executing the next statement

Status
Not open for further replies.

raabbasi

Technical User
Jun 21, 2005
52
PK
I am trying to use a Modal Form inside a procedure for collecting some user-specific information (say, Username/password, for example).

I expect it to function in a way that unless a user clicks 'OK' or 'Cancel' button (that is unless that form gets closed), the execution should not pass on to the statement next to the one which is calling that Modal form.

The Modal form appears as expected, but the statement(s) following the call to this form are also executed without waiting for that form to close.

Suggestion for the logic to achieve the purpose is requested for anticipated thanks.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top