Hi
I have a field on a form called "Course Status". I am trying to get it to say either "Pass" or "Pending" depending on whether 4 other fields (Assessment 1 in, Assessment 2 In, Assessment 3 In and Assessment 4 In) say "Pass". I've managed to get "Course Status" to say "Pass" if the other 4 fields are set to "Pass" but I'm not entirely sure on how to get it to say "Pending" if they are not. I have placed the code under the 4 fields that "Pass" needs to be in. This is what I have so far:
Code:
Private Sub Assessment_1_Status_AfterUpdate()
If Me.Assessment_1_Status = "Pass" And Me.Assessment_2_Status = "Pass" And Me.Assessment_3_Status = "Pass" And Me.Assessment_4_Status = "Pass" Then Me.Course_Status = "Pass"
End Sub
I hope this makes sense.
Any help is much appreciated.
Thanks
tsn.s