OK... I have a numeric (long integer) field in a database (Access), with the values being either 1 or 0, no other values anywhere in that column
No matter what I use, I always get True returned; even if the field is 0. I dont get it.. I've tried ALL of the below methods
1
bSubscribed = rs("N_SUBSCRIBED")
2
bSubscribed = cBool(rs("N_SUBSCRIBED"))
3
if Cint(rs("N_SUBSCRIBED")) <> 0 then
bSubscribed = True
else
bSubscribed = False
end if
4
if Cint(rs("N_SUBSCRIBED")) = 1 then
bSubscribed = True
else
bSubscribed = False
end if