[thelist] why doesn't this work? (ASP 2.0)

Rob Smith rob.smith at THERMON.com
Fri Jan 2 09:42:19 CST 2004


Hi,

given calculated or retrieved values
counter = 12
request.querystring("Version") = 12

I've tried these but none seem to pass the test

if request.querystring("Version") = counter then
if trim(request.querystring("Version")) = trim(counter) then
if request.querystring("Version") = trim(counter) then
if trim(request.querystring("Version")) = counter then
if cint(trim(request.querystring("Version"))) = cint(trim(counter)) then
if trim(cint(request.querystring("Version"))) = trim(cint(counter)) then

Both values SHOULD BE THE SAME, but for some odd reason, this test is
failing.

Does anyone (not on holiday vacation) have a clue how to solve this? (TIA)

Rob Smith


More information about the thelist mailing list