> I want to prevent characters other than the following from being
> entered into a text box:
[quoted text clipped - 10 lines]
> Can I retrieve the ASCII value of the character entered within the
> KeyPress event procedure?
Are you sure you've been looking at the KeyPress event and not the
KeyDown event? The KeyPress event procedure receives an argument,
KeyAscii As Integer, which is the ASCII value of the key that was
pressed. Note that non-ASCII keys will fire KeyDown and not KeyPress.

Signature
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)