Thanks for everyones help.
I read up some and figured out the following solution
*****************************************************
Code for building multiple checkboxes with same name.
*****************************************************
If (Not MyRs.BOF) AND (Not MyRs.EOF) Then
MyRs.MoveFirst
Response.Write ("<b>Number Of Participants: ") & MyRs.RecordCount & "</b><BR><BR>"
Response.Write "<HR><Table Align='Center' valign='top' border='0' width='82%%' bgcolor='AACCFF'><TR>"
Response.Write "<TD Align='Left' valign='Middle' border='0' width='45%'><B>Student</B></TD>"
Response.Write "<TD Align='Left' valign='Middle' border='0' width='28%'><B>Attended?</B></TD>"
Response.Write "<TD Align='Left' valign='Middle' border='0' width='27%'><B>Earned Credits?</B></TD>"
Response.Write "</TR></Table><HR>"
Do While Not MyRs.EOF
StudentName = Trim(MyRs.Fields("FirstName") & " " & MyRs.Fields("Initial"))
StudentName = StudentName & " " & MyRs.Fields("LastName")
ClassID = MyRs.Fields("ClassID")
StudentID = MyRs.Fields("StudentID")
strAttendedBoxNames = strAttendedBoxnames & "AT" & MyRs.Fields("StudentClassID") & ","
strCreditEarnedBoxNames = strCreditEarnedBoxnames & "CE" & MyRs.Fields("StudentClassID") & ","
If MyRs.Fields("InstructorAttended") = True Then
AttendedIDBox = "<INPUT TYPE='checkbox' Value='YES' NAME='AT" & MyRs.Fields("StudentClassID") & "' Checked>"
Else
AttendedIDBox = "<INPUT TYPE='checkbox' Value='YES' NAME='AT" & MyRs.Fields("StudentClassID") & "'>"
End If
If MyRs.Fields("InstructorCreditEarned") = True Then
CreditEarnedIDBox = "<INPUT TYPE='checkbox' Value='YES' NAME='CE" & MyRs.Fields("StudentClassID") & "' Checked>"
Else
CreditEarnedIDBox = "<INPUT TYPE='checkbox' Value='YES' NAME='CE" & MyRs.Fields("StudentClassID") & "'>"
End If
%>
<Table width="82%" height="22" border="1" Align="Center" cellpadding="0" cellspacing="0" bgcolor="AACCFF" valign="top"><TR>
<TD width="45%" height="20" Align="Left" valign="Middle" border="0"><span Class="style9"><%=StudentName%><BR></span></TD>
<TD Align="Left" valign="Middle" border="0" width="28%"><span class="style9"><%Response.Write "Attended: " & AttendedIDBox%><BR></span></TD>
<TD Align="Left" valign="Middle" border="0" width="27%"><%Response.Write "Credit Earned: " & CreditEarnedIDBox%> </TD>
</TR>
</Table>
<%
MyRs.MoveNext
Loop
MyRs.Close
MyConn.Close
Set MyRs = Nothing
Set MyConn = Nothing
If Right(strAttendedBoxNames, 1) = "," Then
strAttendedBoxNames = Left(strAttendedBoxNames, (Len(strAttendedBoxNames) - 1))
End If
If Right(strCreditEarnedBoxNames, 1) = "," Then
strCreditEarnedBoxNames = Left(strCreditEarnedBoxNames, (Len(strCreditEarnedBoxNames) - 1))
End If
Session("AttendedBoxNames") = strAttendedBoxNames
Session("CreditEarnedBoxNames") = strCreditEarnedBoxNames
************************************************************
CODE FOR RETRIEVING CHECKBOXES:
************************************************************If
IF Flag = "1" Then
checkID = Request.Form("txtID")
strAttendedBoxNames = Session("AttendedBoxNames")
strCreditEarnedBoxNames = Session("CreditEarnedBoxNames")
arrAttendedBoxNames = Split(strAttendedBoxNames, ",", -1, 1)
arrCreditEarnedBoxNames = Split(strCreditEarnedBoxNames, ",", -1, 1)
DBPath = Server.MapPath("/database/GVSDCMast.mdb")
Set MyConn = Server.CreateObject("ADODB.Connection")
MyConn.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & DBPath
If Len(arrAttendedBoxnames(0)) > 2 Then
For I = LBound(arrAttendedBoxNames) To UBound(arrAttendedBoxNames)
isAttendedChecked = ""
isCreditEarnedChecked = ""
isAttendedChecked = Request.Form(arrAttendedBoxNames(I))
isCreditEarnedChecked = Request.Form(arrCreditEarnedBoxNames(I))
SQL = "SELECT * FROM StudentClass Where StudentClassID = " & CLng(Right(arrAttendedBoxnames(I), (Len(arrAttendedBoxnames(I)) - 2)))
Set MyRs = Server.CreateObject("ADODB.Recordset")
MyRs.Open SQL, MyConn, adOpenKeyset, adLockPessimistic, adCmdText
response.Write isDeleteChecked
If (isAttendedChecked = "YES") Then
MyRs.Fields("InstructorAttended") = True
Else
MyRs.Fields("InstructorAttended") = False
End If
If (isCreditEarnedChecked = "YES") Then
MyRs.Fields("InstructorCreditEarned") = True
Else
MyRs.Fields("InstructorCreditEarned") = False
End If
MyRs.Update
MyRs.Close
Set MyRs = Nothing
Next
End If
MyConn.Close
Set MyConn = Nothing
IF Flag = "1" Then
checkID = Request.Form("txtID")
strAttendedBoxNames = Session("AttendedBoxNames")
strCreditEarnedBoxNames = Session("CreditEarnedBoxNames")
arrAttendedBoxNames = Split(strAttendedBoxNames, ",", -1, 1)
arrCreditEarnedBoxNames = Split(strCreditEarnedBoxNames, ",", -1, 1)
DBPath = Server.MapPath("/database/GVSDCMast.mdb")
Set MyConn = Server.CreateObject("ADODB.Connection")
MyConn.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & DBPath
If Len(arrAttendedBoxnames(0)) > 2 Then
For I = LBound(arrAttendedBoxNames) To UBound(arrAttendedBoxNames)
isAttendedChecked = ""
isCreditEarnedChecked = ""
isAttendedChecked = Request.Form(arrAttendedBoxNames(I))
isCreditEarnedChecked = Request.Form(arrCreditEarnedBoxNames(I))
SQL = "SELECT * FROM StudentClass Where StudentClassID = " & CLng(Right(arrAttendedBoxnames(I), (Len(arrAttendedBoxnames(I)) - 2)))
Set MyRs = Server.CreateObject("ADODB.Recordset")
MyRs.Open SQL, MyConn, adOpenKeyset, adLockPessimistic, adCmdText
response.Write isDeleteChecked
If (isAttendedChecked = "YES") Then
MyRs.Fields("InstructorAttended") = True
Else
MyRs.Fields("InstructorAttended") = False
End If
If (isCreditEarnedChecked = "YES") Then
MyRs.Fields("InstructorCreditEarned") = True
Else
MyRs.Fields("InstructorCreditEarned") = False
End If
MyRs.Update
MyRs.Close
Set MyRs = Nothing
Next
End If
MyConn.Close
Set MyConn = Nothing
%>