this is normal. enter is reserved for the default button on the form. If you wish to have enter emulate the tab key you will have to write your own routine monitoring the keypress event of each textbox
The following code placed into your form's code section<br>
will work for you ...<br>
<br>
Private Sub Form_KeyPress(KeyAscii As Integer)<br>
If KeyAscii = 13 Then<br>
SendKeys "{Tab}"<br>
KeyAscii = 0<br>
End If<br>
End Sub<br>
<br>
Any problems contact me directly ...<br>
<br>
Jim - <A HREF="mailto:jdmcjen@stc.net">jdmcjen@stc.net</A>
If you want to use the keypress code in all the boxes and only write the code once, create a textbox control array. That way they all share the same event code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.