- Arthur Hefti
- PowerBuilder
- Thursday, 6 February 2020 02:47 PM UTC
Hi
according to the PB Help when choosing "Key and Updatable Columns" or "Key and Modified Columns" in the "Specify Update Properties" dialog the columns marked as updatable should be included in the where clause (either all or the changed), but...
There's an additional property "updatewhereclause" in the datawindow which is visible in the source only. When this is set equals "no" the column is never included in the where clause. For columns with type char(32766) this is always set equals "no" you can't change this by unselecting/selecting the column in the dialog.
When I look at my datawindows that are changed over the years it used to be possible to have columns of type char(32766) in the where clause, they have updatewhereclause="yes". No idea when this changed.
From my point of view this is quite bad and has big impact on the behavior of an application.
Regards
Arthur
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.