G
Guest
Hi
Can someone tell me if and how it's possible to let a user exit an execution of a Stored Procedure. As it is right now, the user makes some selections in a form, then clicks the search button. Now a stored procedure is executed, in a separate thread. This execution time can sometimes last for more than 1 minute (sometimes even more) since there are nearly 2.000.000 records in DB (SQL Srvr) and the in parameters to SProc can vary a lot. Is it possible to take some action, when user clicks CANCEL button in popup progress form, to exit the execution. I'm not sure if it's possible, but if I should try to "kill" the thread in which the SProc is running
/Rickard
Can someone tell me if and how it's possible to let a user exit an execution of a Stored Procedure. As it is right now, the user makes some selections in a form, then clicks the search button. Now a stored procedure is executed, in a separate thread. This execution time can sometimes last for more than 1 minute (sometimes even more) since there are nearly 2.000.000 records in DB (SQL Srvr) and the in parameters to SProc can vary a lot. Is it possible to take some action, when user clicks CANCEL button in popup progress form, to exit the execution. I'm not sure if it's possible, but if I should try to "kill" the thread in which the SProc is running
/Rickard