Hello there everyone. This is sort of a follow up from a previous post, I have a listview called ResultsView, and it keeps track of student literacy stations. What I am doing now, is I have a listbox of the stations they worked at, and the prog searches to see if they did, and if they did, something happens.
I would like to change it, so if the prog finds something, it will add the item "COMPLETED" to the row in the right column. Let me show you what I am talking about.
As you can see. The above code will search for terms in the listbox called StudentChoices(0), and if it finds them, won't let the student do the same station over and over. But now I also want to add their stations to the ResultsView listview.
The above code is for student 1, so it will be all on the first row in the listview under the column headers, but I need to figure out how to have them item added to the same row, not just underneigh each other in a column. For example, if the prog finds the student did do the READ ON YOUR OWN activity, I would like it to add the item COMPLETED on ROW1, but in the first sub column, I can work on adding the rest later, such as adding items to the second sub column, 3rd sub column, 4th, etc, but all on the same row.
Can I do that? Can they all go on the same row?
THANKS!!!
I would like to change it, so if the prog finds something, it will add the item "COMPLETED" to the row in the right column. Let me show you what I am talking about.
VB Code:
Public Sub CheckChoiceListStudent1() 'THIS CODE WILL CHECK TO SEE IF THE STUDENT HAS PICKED THE CHOICE YET ' IF THEY HAVE PICKED THE CHOICE, THEN IT WILL NOT BE VISIBLE 'CHECK FOR READ ON YOUR OWN Dim i1 As Long For i1 = StudentChoices(0).ListCount - 1 To 0 Step -1 If InStr(1&, StudentChoices(0).List(i1), "Read On Your Own", vbTextCompare) Then ReadToSelfBanner.Visible = False ReadToSelfList.Visible = False ReadSelfCountLBL.Visible = False End If Next 'CHECK FOR READ TO A CLASSMATE Dim i2 As Long For i2 = StudentChoices(0).ListCount - 1 To 0 Step -1 If InStr(1&, StudentChoices(0).List(i2), "Read To A Classmate", vbTextCompare) Then ReadToSomeoneBanner.Visible = False ReadToSomeoneList.Visible = False ReadSomeoneCountLBL.Visible = False End If Next 'CHECK FOR LITERACY CENTER Dim i3 As Long For i3 = StudentChoices(0).ListCount - 1 To 0 Step -1 If InStr(1&, StudentChoices(0).List(i3), "Listening Center", vbTextCompare) Then ListeningCenterBanner.Visible = False ListeningCenterList.Visible = False ListeningCenterCountLBL.Visible = False End If Next 'CHECK FOR WORD WORK Dim i4 As Long For i4 = StudentChoices(0).ListCount - 1 To 0 Step -1 If InStr(1&, StudentChoices(0).List(i4), "Word Work", vbTextCompare) Then WordWorkBanner.Visible = False WordWorkList.Visible = False WordWorkCountLBL.Visible = False End If Next 'CHECK FOR WRITING Dim i5 As Long For i5 = StudentChoices(0).ListCount - 1 To 0 Step -1 If InStr(1&, StudentChoices(0).List(i5), "Writing", vbTextCompare) Then WritingList.Visible = False WritingList.Visible = False WritingCountLBL.Visible = False End If Next End Sub
As you can see. The above code will search for terms in the listbox called StudentChoices(0), and if it finds them, won't let the student do the same station over and over. But now I also want to add their stations to the ResultsView listview.
The above code is for student 1, so it will be all on the first row in the listview under the column headers, but I need to figure out how to have them item added to the same row, not just underneigh each other in a column. For example, if the prog finds the student did do the READ ON YOUR OWN activity, I would like it to add the item COMPLETED on ROW1, but in the first sub column, I can work on adding the rest later, such as adding items to the second sub column, 3rd sub column, 4th, etc, but all on the same row.
Can I do that? Can they all go on the same row?
THANKS!!!