I have a yes/no attribute on a form. There is situation where checking the box is invalid. I can catch that and report the error but I can't seem to "uncheck" the box. If the user doesn't do it the report error executes on saving. i.e.
If BSO.YN WAS CHANGED AND BSO.YN = 'Y" AND BSO.XXX <> 'AAA' THEN REPORT ERROR 'Invalid Selection!'
BSO.YN = 'N'
Setting BSO.YN to 'N' either before or after the REPORT ERROR does not make any difference. The check box remains checked and the REPORT ERROR executes again.
How can I fix this?
Vins