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

Tab Alleman Tab.Alleman at MetroGuide.com
Fri Jan 2 13:52:35 CST 2004


Rob Smith wrote:
> 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 

Have you tried:

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



More information about the thelist mailing list