- Sivaprakash BKR
- PowerBuilder
- Thursday, 7 March 2019 06:00 AM UTC
Hello,
PB 2017 R3, build 1880, Posgresql 11.1
Calling a function from itemchanged event, which retrieves value from db through a query,
Select a.name
Into :ls_name
From table_a
Where field1 = :ls_where;
Messagebox('return1', sqlca.sqlcode)
Messagebox('return2', sqlca.sqlcode)
It returns 0 first time, 100 second time. What will be the issue ?
Only this window seems to be the issue.
We migrated few datawindows from 11.5 to 2017 and one datawindow we used in this window. We used other datawindows in other windows, which is working perfect.
Creating a new datawindow from scratch returns the values correct.
What could be the cause of this error ? Any idea ?
Happiness Always
BKR Sivaprakash
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.