Is there a way to filter text entered into a textbox so as to only allow alphabetic chataters to be typed ?? No special charaters ( !"'./,$% ) allowed as this data is appended to the end of an SQL statement.
Any help would be appreciated.
Private Sub txtComment_KeyPress(KeyAscii As Integer)
If KeyAscii = Asc(vbCr) Then
KeyAscii = 0
End If
'need text filter
End Sub
Thanks...
Any help would be appreciated.
Private Sub txtComment_KeyPress(KeyAscii As Integer)
If KeyAscii = Asc(vbCr) Then
KeyAscii = 0
End If
'need text filter
End Sub
Thanks...