Hi Tan,
Set the InputMask Property with ! for the length of the field.
e.g.
this.InputMask = "!!!!!!!!!!"
>I have created a textbox. And I wish that when the user type in a lowercase character in the texbox it will be replaced by a uppercase letter.
>
>I try doing this:
>cNewValue = ""
>
>for ix=1 to len(alltrim(this.value))
> cNewValue = cNewValue + substr(this.value,ix,1)
>endfor
>
>thisform.text2.value = upper(cNewValue)
>
>but it gives me a reverse data
>Like when I type "abcd" it shows "DCBA"
>
>How can I reverse it back?