Hi, We have a SQL Server 7 DB and it has certian values stored as the bit type.
I want to check if the value is false (i.e 0) and then carry out an action..
If {Db_Field} = 0 then do_action
When I try and execute the function i get an error saying 'A boolean is required'
I have tried putting the 0 in ""'s but the same error comes up. Using the word False (in ""'s and without) gives the error 'Number, Currency, Date or DateTime is required..
Does anyone know what is going on and how to get around it???
Thanks for any help you can give.
Regards
Simon.
I want to check if the value is false (i.e 0) and then carry out an action..
If {Db_Field} = 0 then do_action
When I try and execute the function i get an error saying 'A boolean is required'
I have tried putting the 0 in ""'s but the same error comes up. Using the word False (in ""'s and without) gives the error 'Number, Currency, Date or DateTime is required..
Does anyone know what is going on and how to get around it???
Thanks for any help you can give.
Regards
Simon.