|
Easy. Before running your loop set ALL of the records to 0 and then loop through the selected checkboxes and set those to 1.
The only snag is that if you have records you want to keep set as 1 you'll be stuffed unless they were also selected in the form.
Apart from that you can't do it. Checkboxes are for selecting items not for changing their state. Thats what radio buttons are for.
|