Gan ---
Try using a Combobox with Manual entries.
>I have a textbox for entering "Sex", it's either M or F. How to make the user only be able to enter M or F from the keyboard, just like entering Y/N?
>??? Set the event txtSex.InteractiveChange? Please help me with the code.
>
>Thanks
>
>Gan
------------------------------------------------
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