>Hi Robert ---
>
>Textbox.InputMask = "99:99 !M"
>Textbox.KeyPress code:
>
>IF THIS.SelStart=6
> IF nKeyCode # 65 AND nKeyCode # 80
> NODEFAULT
> ENDIF
>ENDIF
>
>
>>I want to use a ch6 field to represent a time value.
>>I would like to use the imputmask of 99:99!!.
>>for example 12:45PM. I want to force the !! to
>>be either AM or PM. any ideas? thanks :)
Hi John and thanks for the code. :)