patrick24601
Active member
- Joined
- May 16, 2005
- Messages
- 34
A SQL Server database stores a bit value as 1 or 0.
Visual Basic stores true false as -1 and 0.
As far as I can tell every time you read a bit column you are going to have to multiple it by -1 in order to test for true/false in VB?
Did I get this right or is there an easier way (without storing the value as an integer in sql server) ?
Thanks,
Patrick
Visual Basic stores true false as -1 and 0.
As far as I can tell every time you read a bit column you are going to have to multiple it by -1 in order to test for true/false in VB?
Did I get this right or is there an easier way (without storing the value as an integer in sql server) ?
Thanks,
Patrick