Looks good Rich.
>I think I just found a simpler way. In the click event, set SelStart and SelLength. What you set SelLength to will depend on the data type of the text box's control source. For instance, because what I tested this on was a numeric field, I had to use:
>
>* frmPosting.txtAmount.Click
>IF NOT EMPTY(THIS.Value)
> THIS.SelStart = 0
> THIS.SelLength = LEN( TRANSFORM(THIS.Value, THIS.InputMask) )
>ENDIF
>
>
kenweber
GCom2 Solutions
Microsoft Certified Professional