>>>How do I automatically select the data in a field when a user enters the field?
>>
>>Try putting the letter K into the Format property of the data control (ie. Textbox). Look in help under "Format property" for more info.
>>
>>If this is not what you are looking for, please give more info.
>>
>>-Doug-
>
>
>Try this...
>
>NODEFAULT
>TextBox::GotFocus
>THIS.SelStart = 0
>THIS.SelLength = LEN(ALLTRIM(THIS.Value))
>
>in your text box gotfocus event
>
>HTH
>
>Jon
Sorry,
NODEFAULT
THIS.SelStart = 0
THIS.SelLength = LEN(ALLTRIM(THIS.Value))
I subclassed it.
JP
Jon Paskett
Microsoft Certified Systems Engineer
We all have to start somewhere...
Sometimes over again!