sending a boolean value to a db [RESOLVED]
when you have a boolean variable, vb sees that as 'true' or 'false', not '0' or '1'. when I send the value to a db field of type 'bit', the process crashes cause it actually receives a string of 'false' (cause I am trying to set the variable to '0' and it gets defaulted to 'false')
I have two options,:
1) use type byte for the variable and use 0's or 1's
2) use type integer and use 0's or 1's and use more resources for the variable size.
I'm trying to use the smallest size possible. In addition to these options, what else can be done?