-
Rich Gibson
- PowerBuilder
- Tuesday, 20 January 2026 09:55 PM UTC
I have a simple datawindow that also contains 3 checkboxes. I have them set with "Y" for on and "N" for off in the Checkbox editstyle properties. The underlying table is a char(2). I have also duplicated the fields to validate the values as the checkboxes are turned on and off. The duplicate fields show that the values change appropriately. However, after an update the "Y" value is now 2 characters including a trailing space which causes the checkbox to reflect the wrong state. I used a 2 character field to future proof the data structure just in case I end up using a 2 character value. How do I ensure that the value is set correctly? Furthermore, on retrieve, the checkboxes are not populated with the correct state.
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.