usually we use intX=request(intX) yet my table field intX is type is int, so if you enter letters from a to z it will get error. Question is: How to check the query entry see if it is int or not int without showing any error? Best Regards,
Try: Dim intX intX = Request(intX) If IsNumeric(intX) Then 'The line below is put in because the function 'isNumeric' will return true 'for doubles e.g: 12.3124141. So we just convert it to an integer, and depending 'on how you insert the value into the database it will be necessary to prevent error. intX = Int(intX) Response.Write "Value is a number: " & intX Else Response.Write "Value is not a number" End If Code (markup):