Number validation
I have a variable and would like to test it if it is all numbers or there are alphabets or special characters like "*", "/". I tried the following codes and it is giving me a type mismatch "IsNumber" error message. Can someone please tell me how to go about this.
If IsNumber(intProduct) Then
Response.Write " Product Code " & intProduct & <"BR>"
Else
......
End If
Thanks,
Judy
|