3 state checkbox on DW
- How-to
- Tracy Lamb
- PowerBuilder
- Wednesday, 19 September 2018 02:32 PM UTC
Usually, my dw checkbox edit style has data value 'T' for ON and 'F' for OFF. I've recently been asked to add a 3rd state that sets the database value to NULL. What do I put for a value?
I changed the 3rd state edit style value to SetNull(). This worked in one dw yesterday (I thought). So today I'm screaming through my code to edit the other dw's that are affected. On the very first one, I'm getting an error: checkbox1 does not pass validation test
I get the same problem if I just leave ithe 3rd state data value alone, it defaults to 0 I think.
Any ideas what may be going on here and how I can set the value to NULL for the 3rd state?
TIA,
Tracy
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.