There are 2 columns of checkboxes - each of which are from different recordsets. The first column's recordset contains "ALL," "Item1," "Item 2," etc. The second column's recordset, also, contains "All," "SecondItem1," "SecondItem2," etc. Unfortunately, All needs to be included as well as the ability to select more than one item (hence checkboxes vs. radio buttons). So, the code is:
dim x, y
x=0
DO UNTIL rs1.eof
value=<%=rs1(fieldname)%>>
y =0
DO UNTIL rs2.eof
.<%=y%> value=<%=rs2(fieldname)%>>
y = y + 1
rs2.movenext
LOOP
x = x + 1
rs1.movenext
LOOP
All of rs1 needs to print out as well as rs2. However, once a person clicks on "All" in rs1, then the rest of the items in rs1 need to be either: 1) unchecked or2) hidden and unchecked. The same will be done to rs2.
Does this help or do you need more info? I appreciate your helping me. Thank you!
Regards,
Cora