I have an event that won't fire. It's in an unbound text box in a subform that's supposed to compare the recordset in that subform with the recordset in another subform. However, when I run the form the textox is blank.
*Also, I tried running breakpoints but still nothing happens
Dim RS As DAO.Recordset
Set RS = [Forms![Staff Training]![CoursesCompletedforPosition Query subform].Form!Courses].Recordset
Dim found As Boolean
Do Until RS.EOF
If RS("Courses") = Courses.Value Then found = True
Loop
If found Then
Text4.Value = "Yes"
Else: Text4.Value = "No"
End If
*Also, I tried running breakpoints but still nothing happens
Dim RS As DAO.Recordset
Set RS = [Forms![Staff Training]![CoursesCompletedforPosition Query subform].Form!Courses].Recordset
Dim found As Boolean
Do Until RS.EOF
If RS("Courses") = Courses.Value Then found = True
Loop
If found Then
Text4.Value = "Yes"
Else: Text4.Value = "No"
End If