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 :)
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05