- Anna Uden
- PowerBuilder
- Wednesday, 7 July 2021 06:53 PM UTC
We are currently working to upgrade from PowerBuilder 12.5.1 Build 4015 to Appeon 2019 R3 Build 2703
We have a datawindow that does a straight update to a specific table using the datawindow's update properties. We also have columns that are NOT part of the specific table but are editable by the user. The save code manually handles saving data for those columns, and then issues the datawindow's Update function for the rest.
If the user only changes data for the columns not part of the specific table, that update occurs fine in both 12.5 and 2019.
When the update function is called in 12.5, while debugging it jumps to the updateend event and works fine because it found nothing to update.
However in 2019, the update function returns a -1 and does NOT fire the dberror event or error event on the non-visual datastore used to do the updates.
Is this how it is suppose to work? Am I going to have to code around this for 2019?
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.