If (Type('m.thisForm.wlHTMLgen') == 'L' And m.thisForm.wlHTMLgen)ReturnDoDefault()ElseThis.Value = Left(Upper(This.Value),6)Local lRet lRet = .T. .......some controls ontable .......lRet now is falseReturn lRetEndIf
The problem is that even if the code returns a false value, the textbox is not locked and i can leave it and go to the next object....
Why ?