I'm using the following code:
Private Sub cboCourseID_AfterUpdate()
If DCount("CourseID", "tblBooking", "CourseID = [cboCourseID]") > 5 Then
MsgBox "This course is full"
End If
End Sub
I have three different bookings for the same course by three different people. So that should mean there...