Keypress Event of Textbox:   Return to List

Private Sub txtSearch_KeyPress(KeyAsccii As Integer)
    If KeyAsccii = 13 Then    ' 13 is code for Return
        cmdSearch_Click            ' To Initiate Search
    End If
End Sub



Note to Webmaster