S
serviceman via AccessMonster.com
Calling Dr. Kallal....
I have been making use of your nice little multiselect form to add students
to my attendance forms. I need to add a button to the form that will select
ALL students. This simple code:
Private Sub Command14_Click()
If IsChecked(Me.STUDENT_ID) = False Then
colCheckBox.Add CLng(Me.STUDENT_ID), CStr(Me.STUDENT_ID)
End If
Me.requery
End Sub
selects and de-selects whatever record has the focus, but I cannot get it to
loop through all records in the form to check all students. How can I get it
to loop? i have been farting around with this for several hours, and getting
nowheres fast....
Thanks again for all of your great contrbutions to this site; your insight is
most helpful!
andy
I have been making use of your nice little multiselect form to add students
to my attendance forms. I need to add a button to the form that will select
ALL students. This simple code:
Private Sub Command14_Click()
If IsChecked(Me.STUDENT_ID) = False Then
colCheckBox.Add CLng(Me.STUDENT_ID), CStr(Me.STUDENT_ID)
End If
Me.requery
End Sub
selects and de-selects whatever record has the focus, but I cannot get it to
loop through all records in the form to check all students. How can I get it
to loop? i have been farting around with this for several hours, and getting
nowheres fast....
Thanks again for all of your great contrbutions to this site; your insight is
most helpful!
andy