I'm trying to use the KeyPress event so that when someone keys in there ID and password and clicks ENTER or TAB (the keys on your keyboard) it will submit their input for verification.
I don't want my user to have to click the button at the bottom of the page if they don't want to.
Here's the code i tried:
Private Sub Text2_KeyPress(KeyAscii As Integer)
Call Enter_Click
End Sub
I get this error msg:
"This action can't be carried out while process a form or report event."
Thanks in advance!
I don't want my user to have to click the button at the bottom of the page if they don't want to.
Here's the code i tried:
Private Sub Text2_KeyPress(KeyAscii As Integer)
Call Enter_Click
End Sub
I get this error msg:
"This action can't be carried out while process a form or report event."
Thanks in advance!
Last edited: