Hi
Pls put your code in a thread.then u can abort execution by stopping that thread.I attached a sample to demonstrate this.I think this wil solve your problem
>I need to abort a process while it is executing. Please, can you tell me how can I do that before it has finished? The request to abort it comes from a user interface and I don''t know how to process it while the procedure is running.
>
>Thanks for your help,
>Renata
Proc_ctrl.zip