Numpty
on t'internet
- Local time
- Today, 19:46
- Joined
- Apr 11, 2003
- Messages
- 60
Code:
=DCount("[Status]","Delegate/Booked Course Link","[BookedCourseID] = Forms!Me![BookedCourseID]" & "[Status] = 'Applied'")
I have a subform which displays people who are booked onto a particular course. Along side is their 'Status' which can be changed via a combo box. What I need to do is count the different values from the combo box.
i.e If there are 10 people on a course and 5 have the status applied it will display '5' in text box. The code displayed above is what I have entered into the control source of the text box but to no avail. I can't figure this one out.