cWebCheckBox unchecked
I've defined my 17.1 cWebCheckbox in the DD for values of Y/N. I need to test it for being checked but if checked or unchecked, onChange always shows it as "Y" - it's checked state. What might I be doing wrong?
Code:
Object oDRVRINSPCab_Doors_Windows is a cWebCheckbox
Entry_Item DRVRINSP.Cab_Doors_Windows
Set piColumnSpan to 4
Set piColumnIndex to 0
Set psCaption to "Doors/Windows"
Set peLabelAlign to alignLeft
Set pbServerOnChange to True
Procedure OnChange
String sChecked
WebGet psChecked to sChecked
If (sChecked = "Y") Begin
// sChecked is always "Y" no matter if checked or unchecked
End
End_Procedure
End_Object
Bob Worsley
203-249-2633
rlworsley at gmail.com
Do or do not. There is no try. — Yoda