This is because a bit field has the value of 0 or 1, where a checkbox has the value true or false which vb interprets as -1 for true or 0 for false.
One way to do it would be to say
ssqlinsert = " ...."
if checkbox.value = true then
ssqlinsert = ssqlinsert & 1
else
ssqlinsert =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.