Hello,
I am having a problem with the following code. When the
returnkey is pressed the correct procedure is called but I lose the value in the txtpassword text box. The text box value is Null. Why is this happening? Please advise. Thank you!!!
Private Sub TxtPassword_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then
Call cmdEnter_Click
End If
End Sub
I am having a problem with the following code. When the
returnkey is pressed the correct procedure is called but I lose the value in the txtpassword text box. The text box value is Null. Why is this happening? Please advise. Thank you!!!
Private Sub TxtPassword_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then
Call cmdEnter_Click
End If
End Sub