I need some help in figuring out how to return the value of a check box. I am trying to migrate data from access to sql server 2000. One of my access table contains check box option: a user can select or it is not selected. The problem is that sql server takes that field as null.
Now I am trying to get the value of the check box; something like "0" if not checked and "1" or "-1" if checked. If I can translate to some value, then I am fine with that and can store the same values in sql server.
In order to do that I am trying to use expression builder (IIF function), however, can't seem to figure out how to use an expression to relate check or uncheck option.
Can anyone help me in this regard ?
Thanks
Now I am trying to get the value of the check box; something like "0" if not checked and "1" or "-1" if checked. If I can translate to some value, then I am fine with that and can store the same values in sql server.
In order to do that I am trying to use expression builder (IIF function), however, can't seem to figure out how to use an expression to relate check or uncheck option.
Can anyone help me in this regard ?
Thanks
Comment