Set the form's KeyPreview property to Yes (on the Event tab of the
Properties box), and use the KeyDown event to trap KeyCode 13, and destroy
the keystroke (by assigning 0 to KeyCode.)
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Geoff G" <ge***@sunny-side.ws> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
I want to prevent the focus moving to the next field in a form after
pressing enter. I want to do this for only one specific form, I don't
want to change the keyboard behaviour for the whole database using
Tools >> Options >> Kewyboard >> Move after enter >> Don't move. Any
suggsetions?