- Li Mei Weng
- PowerBuilder
- Monday, 27 November 2017 08:59 AM UTC
Same with Title.
This mistake that made me so battered.
Code:
li_rc = inv_luw.of_Update(apo_control, ab_accepttext, ab_resetflag)
messagebox('of_update', sqlca.sqlerrtext) //sqlerrtext return ""
messagebox('of_update', sqlca.sqlcode) //sqlcode return 1
if li_rc = 1 then
sqlca.of_commit()
messagebox('commit', sqlca.sqlerrtext) //sqlerrtext return "this sqltransaction has completed;it is no longer usable"
messagebox('commit', sqlca.sqlcode) //sqlcode return -1
end if
Powerbuilder 12.5
8.0 PFC Main - pfc_w_master
============================================
sqlca.of_commit()
or
commit;
These two codes will cause this problem?
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.