I have a login form to my database done in Access 2010 and using VBA code. I want to be able to press Enter on txtboxPassword and automatically execu
txtboxPassword
Cant reproduce exactly your problem, but some time ago I had somewhat similar issue and solved it by adding:
Private Sub txtboxPassword_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 13 Then btnLogin_Click KeyCode.Value = 0 End If End Sub