I have a form that shows an employee’s name and position, a subform that shows which courses the employee has completed for their position, and another subform which lists all the courses required for the position.
In the second subform I inserted a text box which basically compares the two courses fields - IIf([Courses]=Forms![Staff Training]![CoursesCompletedforPosition Query subform].Form!Courses,"Yes","No"). So basically, if an employee has completed a course in the first subform and it matches a course in the second one, "Yes". This works, but it only checks the first record. I need it to check the entire recordset of the first subform.
I want to compare the courses completed for position to the courses required for position so that the user can figure out which ones they have left to do.
Is there any way to do this using an eof statement? i've tried but it doesn't work at all.
Any help would be great!
Thanks
In the second subform I inserted a text box which basically compares the two courses fields - IIf([Courses]=Forms![Staff Training]![CoursesCompletedforPosition Query subform].Form!Courses,"Yes","No"). So basically, if an employee has completed a course in the first subform and it matches a course in the second one, "Yes". This works, but it only checks the first record. I need it to check the entire recordset of the first subform.
I want to compare the courses completed for position to the courses required for position so that the user can figure out which ones they have left to do.
Is there any way to do this using an eof statement? i've tried but it doesn't work at all.
Any help would be great!
Thanks