Sep 8, 2003 #1 J Jay1b Contributor Joined Aug 3, 2003 Messages 640 Location Kent, Uk. I am trying to detect any non-numeric characters in a textbox to through up an error. Whats the best way of going about this - i do not wish to rely on error checking for this. Thanks.
I am trying to detect any non-numeric characters in a textbox to through up an error. Whats the best way of going about this - i do not wish to rely on error checking for this. Thanks.
Sep 8, 2003 #2 H hog Senior Contributor Joined Mar 17, 2003 Messages 984 Location UK I always use IsNumeric() although others may say to use something else... Visual Basic: If Not IsNumeric(text goes here) Then End if
I always use IsNumeric() although others may say to use something else... Visual Basic: If Not IsNumeric(text goes here) Then End if
Sep 8, 2003 #3 J Jay1b Contributor Joined Aug 3, 2003 Messages 640 Location Kent, Uk. Looks good to me. Thanks.