Hi,
I want to compare a value in a field with a value in my recordset and I got something like this:
if (Request.Form("test"
> Cstr(CInt(oRS9(2)))) then
...
end if
I know that there is something wrong with Cstr(CInt(oRS9(2))) because if the value in oRS9(2) is eg 15 he takes only the 1 to compare with "test". And if it is eg 35 he takes the 3 ... so can someone help me with this?
thanx
p.s. oRS2(9) is a smallInt
I want to compare a value in a field with a value in my recordset and I got something like this:
if (Request.Form("test"
...
end if
I know that there is something wrong with Cstr(CInt(oRS9(2))) because if the value in oRS9(2) is eg 15 he takes only the 1 to compare with "test". And if it is eg 35 he takes the 3 ... so can someone help me with this?
thanx
p.s. oRS2(9) is a smallInt