- Joe Hess
- PowerBuilder
- Tuesday, 16 October 2018 06:11 PM UTC
PB2017 R3, SQL Server 2014
I'm miigrating an application from PB9 to PB2017 R3. I'm receiving a Row Changed Between Retrieve and Update error when I try to delete a row through a datawindow. I narrowed the problem down to the attached trigger that logs the insert, update, and delete transactions. I believe I was even able to narrow this down to the exact line(s) of code:
select * into #ins from inserted
select * into #del from deleted
When disabled, the delete works properly. If I comment out these SELECT commands and the final EXEC command, I can delete rows. The insert and update statements always work. There is another delete trigger on the table. I tried disabling that trigger while leaving the change tracking trigger enabled, and I still received the error.
Any ideas?
Thanks
Joe Hess
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.