I need to check whether any numerics are present in a text field in my VB application. I am doing the following:-
If IsNumeric(Me.txtsNameFind) = True Then
MsgBox "Surname has to be characters"
This only works if the text box contains only numeric characters, so if I put in cook123 it accepts it. Any suggestions?? It has been suggested that I do my own piece of code to check each character but that seems awfully long winded, there has to be a function that will do this already.... surely......
cheers
If IsNumeric(Me.txtsNameFind) = True Then
MsgBox "Surname has to be characters"
This only works if the text box contains only numeric characters, so if I put in cook123 it accepts it. Any suggestions?? It has been suggested that I do my own piece of code to check each character but that seems awfully long winded, there has to be a function that will do this already.... surely......
cheers