Hi James,
You can do it just using InputMask Property
InputMask = "!XXXXXXXXXX"
>Hi All,
>
>This seems like it should be elementary age simple, but I can't seem to find the right command. I want to Uppercase the first letter entered in a textbox for a data enter screen. I put this code in the InteractiveChange method:
>
>If Len(Trim(This.Value)) = 1 and ThisForm.AutoUpper = .T.
> This.Value = Upper(This.Value)
>EndIf
>
>The problem is, I think, when FoxPro does the replacement the cursor is moved back to the beginning of the textbox so subsequently entered text comes out BEFORE the first letter. So the value of my name "James" would appear like this in the textbox "amesJ".
>
>I'm looking for a command that will let me move the cursor to the end of the text so that the entered data will appear correctly. Or, a different, better approach to the whole thing.
>
>Thanks in advance for all you kindly help.
>
>Aloha,
>
>James
--sb--