I have gone through all of the examples I can find for cancellable queries... still can't get it to work.
What I have is simple. I have a button that decides if entries in a memo field is a select statement or not. If it isn't a select statement the query is passed to a toraclescript and ran with the feedback being passed into another memo.
If the query is a select statement the query is then passed into a toracledataset and ran, with the output being put into a DBgrid so the users can edit the data, export to a file etc.
What I want to do is simply this - Have the CANCEL button actually cancel whatever is running. I can't figure how to cancel either the toraclescript OR the toracledataset.
Help!
What I have is simple. I have a button that decides if entries in a memo field is a select statement or not. If it isn't a select statement the query is passed to a toraclescript and ran with the feedback being passed into another memo.
If the query is a select statement the query is then passed into a toracledataset and ran, with the output being put into a DBgrid so the users can edit the data, export to a file etc.
What I want to do is simply this - Have the CANCEL button actually cancel whatever is running. I can't figure how to cancel either the toraclescript OR the toracledataset.
Help!