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
to activate KeyCode, you need to set Key Preview Property on form to YES (it will be at the bottom)
If KeyCode = vbKeyReturn Then Your_fuction_here End If