-
Luc Railhac
- PowerBuilder
- Wednesday, 10 September 2025 12:57 PM UTC
Hi,
In our application everything is set up as required, Async=1 and a script in the RetrieveRow() event.
For long-running queries, we display the dialog box shown in the attached image.
If we call DBCancel() in the "Cancel" button script, PB goes into high CPU usage, stops responding and we have to kill the app.
We are using PB 2025 and Oracle 12.2, but this issue isn't related to PB 2025, as it was the same in 12.6.
DBCancel() used to work, but at some point in the past (PB or Oracle version/configuration change?) it stopped working. Since then, the "Cancel" button can only be used to cancel the retrieval of data after the query has been executed, but not before, which is a problem for very long queries.
Any ideas on what's going on?
Thanks,
Luc
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.