I have a form with about 24 checkboxes on it, and although this method works, there has to be something cleaner
I write this code once for each checkbox.
If Request.Form ("chkBdMem"
= "true" then
objRS("BoardMember"
.value = true
else
objRS("BoardMember"
.value = false
end if
the value of each checkbox gets written back to yes/no field in an access database. I find if I don't do the if..then statement, if the user leaves the checkbox blank, the recordset doesn't get updated and an error is generated.
How much more water would there be in the ocean if it weren't for sponges?
I write this code once for each checkbox.
If Request.Form ("chkBdMem"
objRS("BoardMember"
else
objRS("BoardMember"
end if
the value of each checkbox gets written back to yes/no field in an access database. I find if I don't do the if..then statement, if the user leaves the checkbox blank, the recordset doesn't get updated and an error is generated.
How much more water would there be in the ocean if it weren't for sponges?