- Olan Knight
- PowerBuilder
- Monday, 14 March 2022 10:26 PM UTC
UPDATE:
FYI: This works:
boolean lb_valid
string ls_column
lb_valid = IsNull (adw_object)
IF (NOT (lb_valid)) THEN RETURN // <--- the lb_valid value is FALSE at this point, as it should be.
lb_valid = IsValid (adw_object)
IF (NOT (lb_valid)) THEN RETURN
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PowerBuilder 2019R3, b2703
Windows 10, 64 bit platform
This bit of ancient code is failing because the return value of the ISNULL function is TRUE instead of FALSE, as it shoudl be.
Note that PowerBuilder's IDE in debug mode recognizes that the object is NULL. I hovered the mouse over the variable before taking the screen shot.
Is there something I can do to correct this?
Thanks!
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.