Forum Moderators: open
I run into the same problem....sometimes. When you need an exact value of the variable you need to spell out the whole rsRecordSet.Fields.Item("").Value.
this crops ups with me mostly with strings where, like in Java, a static string doesn't necessarily "equal" the database variable. In java we would use the ".equals" method of the variable instead of the equality operator (==) to check for matches.
I don't know fully why you need to do this in ASP/JS but I do know to check that sometimes.