[thelist] if...or...then in asp
Howard Cheng
howcheng at ix.netcom.com
Mon Feb 25 17:30:00 CST 2002
Don't forget that Request("var") also returns a String, so as written below
this would generate a type mismatch error.
At 11:24 AM 2/25/2002 -0800, Anthony Baratta wrote:
>At 12:04 AM 2/25/2002, George Klingenhoffer wrote:
>><%
>>If (Not IsNumeric(Request("curpage"))) Or (Request("curpage") < 1) Then
>> CurrentPage = 1
>>Else
>> CurrentPage = Request("curpage")
>>End If
>>%>
>
>::::::::::::::::::::::
>Howard Cheng
>howcheng at ix.netcom.com
>AIM: bennyphoebe
>ICQ: 47319315
More information about the thelist
mailing list