2/ is the code you posted located in xxx.vcx!xxxTxt.valid()?
3/ if so, do you call DoDefault() in your subclass or instance code?
4/ how does your code compare to this?
&& xxx.vcx!xxxTxt.valid()IF (Type('m.thisForm.wlHTMLgen') == 'L' AND m.thisForm.wlHTMLgen)RETURNDoDefault()ELSEthis.Value = iif(Vartype(m.this.Value) == 'C', Upper(m.this.Value), m.this.Value) && be aware that this.Value may be numericENDIF&& subclass or instance of xxx.vcx!xxxTxt.valid()IF (Type('m.thisForm.wlHTMLgen') == 'L' AND m.thisForm.wlHTMLgen)RETURNDoDefault()ELSEDoDefault()<you code>ENDIF
-- thn (FoxInCloud)