Try using this:-
- Code: Select all
if cInt(rsAdmin("admin")) = 1 then
If this works, then it is because you are comparing an integer to a variant / string.
If this does not work, then post back along with a schema for the table including field types.
Cheers