If you set the form's KeyPreview property to Yes, you could use the KeyDown
event to trap the Tab and Enter keystokes and destroy them with:
KeyCode = 0
The more important question might be why you want to do this, e.g.:
1. If you need to prevent the user moving out of a control until you have
validated the entry, use the BeforeUpdate event of the control.
2. If you need to check that the user has not left controls blank, set the
field's Required property in table design.
3. If you need to run a comparison between fields or other complex
record-level validation, use the BeforeUpdate event of the *form*.
4. If you wanted to stay with the same record instead of automatically
tabbing to the next one, set the form's Cycle property to Current Record.