You likely are not throwing out the keypress.....
Access is being confused, since you have Enter key = default for a
In anther case...you want to do something else...
Add the following line of code
keypress = 0 ' throw keypress into black hole...access will not see
Hence,your you code would (something) like
Private Sub Text28_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
KeyCode = 0 ' black hold for key...
By adding the keycode = 13, then the standard default button, or anything
else for that matter will NOT see/get/use the keypress....
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada