Trying to implment Async
- How-to
- Joel Norby
- PowerBuilder
- Tuesday, 26 January 2021 05:33 PM UTC
Hi,
I'm trying to implement async processing. I've added Async = 1 to my transaction object and added a comment to the retrieve row event of my inherited datawindow control object. At execution time, I get the following error on the 8th row(8th time retrievrow is called) every time.
"Only the cancel command is allowed when the rows are pending."
based on the error I was thinking Async wasn't actually being enabled. I tried a using a separate transaction object, checking the Asyc dbparm in the transaction object before retrieve and it looks enabled. Am I missing something?
Thanks!
Joel
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.