To my knowledge, there are two easy ways to partially
achieve this, with slightly different effects:
- At the database level, you can set Move By Enter on the
Keyboard tab of the Options menu choice. This, however,
will apply to ALL forms in the DB.
- For textboxes, you can set the EnterKeyBehavior property
to choose whether Enter causes the cursor to move to the
next control, or causes a new line to be created in the
textbox. Unfortunately, this property is not available
for other types of controls.
You may also want to investigate whether it would be
possible to filter the Enter key through the OnKeyPress or
OnKeyDown events.
HTH
Kevin Sprinkel