Using "Enter" and "Tab"

L

Louise

Hi!
I'm using Access2000 and I'm new to VBA (just have QBasic
background). I would like to know if it is possible to
program "OnKeyPress" to use "Enter" and "tab" as the key
for the wanted action or are those two keys reserved to
Access operations only?

Thanks!
 
W

Wayne Morgan

I just tried it to make sure. Enter is 13 and Tab is 9, as returned by the KeyAscii
parameter in the event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top