isNumeric returns true?

Results 1 to 2 of 2

Thread: isNumeric returns true?

  1. #1
    Join Date
    Dec 1969

    Default isNumeric returns true?

    I&#039;m doing this:<BR>If IsNumeric(Request.QueryString("roleID")) Then<BR><BR>If the URL parameter "roleID" does not exist, this statement returns true. This doesn&#039;t make sense to me - this should basically read:<BR>if IsNumeric(Empty) Then<BR><BR>Can someone explain?<BR>Thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: isNumeric returns true?

    Right before it do:<BR>Response.Write "roleID = &#039;" & Request.QueryString("roleID")) & "&#039;&#060;br /&#062;"<BR><BR>Also, why not just do:<BR>If Len(Request.QueryString("roleID")) &#062; 0 And IsNumeric(Request.QueryString("roleID")) Then<BR><BR>-Doug

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts