[thelist] ASP: variable in a comparison

McCreath_David McCreath_David at xmail.asd.k12.ak.us
Fri Sep 8 12:22:00 CDT 2000

 - -----Original Message-----
 - From: thelist-admin at lists.evolt.org on Behalf Of Joel Morris
 - Subject: RE: [thelist] ASP: variable in a comparison
 - This should work:
 - if Request.Form("navigation") = VariableName Then
 - Joel

Actually it turned out to be this:

if cint(Request.Form("navigation")) = cint("VariableName") then

The value of the variable is a number, and I guess it was being read as a
string on one part and not on another or something.

So, cool.

home: http://home.gci.net/~mccreath/
work: http://www.asd.k12.ak.us/ 


More information about the thelist mailing list