Do Nothing Base on Alert Button Selected [message #448671] |
Wed, 24 March 2010 10:28 |
psmith8909@aol.com
Messages: 8 Registered: October 2006 Location: Las Vegas
|
Junior Member |
|
|
I have several procedures that execute sequentially after the user presses a button. Before each procedure is executed, an alert appears asking the user if they really want to run the procedure. If they click Yes, then run but if they click no, do not process and return the user to the form (giving them the opportunity to exit). The issue is I want to put the part that issues the alerts in its own procedure and call it from within the other procedures. If the user clicks the No button, is there a simple way to exit them from the procedure that called the procedure which issued the alert? ie. PROC1 Calls PROC2. PROC1 issues alert asking if want to run procedure, user clicks NO. Exit PROC1 and Exit PROC2 and return user to form allowing them to exit. Or is my approach all wrong?
|
|
|
|
|