ajetrumpet
Banned
- Local time
- Yesterday, 22:38
- Joined
- Jun 22, 2007
- Messages
- 5,638
NOAdam,
Do you have the Form's KeyPreview property set to YES?
What are you actually trying to prevent the user from doing? Moving fields by pressing enter? Moving records by pressing enter? If you go into Tools=>Options you can change the behavior of the enter key.


Right now I am using A2007, and I don't really like the ribbon, as it takes away from the easy navigation of the menu lists.
I am still pondering though, why none of the code that I tried above has worked. Does anyone think it is just not relevant? I wonder if other keys can be disabled by VB? I just changed the option in tools for the enter key, but there is obviously no other keys' behavior specified in those options. Makes me wonder if "enter" has no place in Ascii, although the VBA help says it does...
