snoko
Registered User.
- Local time
- Today, 23:54
- Joined
- Oct 26, 2004
- Messages
- 32
I have a small problem with a query. Example, I have three tables, tblStaff, tblCourse and the joining table tblCourseAttend.
I can return records showing which staff have done either course 1 OR course 2 OR course 3 etc but I can't seem to return which staff have done course 1 AND course 2 AND Course 3.
I'm using a form with a list box to list all the courses, the users then selects the courses they require from the list and a commamd button will produce a report listing the staff who have attended.
The OR functionality works fine but I can't get the AND aspect to work.
The users can select any number of courses to query.
Anybody help on this one?
I can return records showing which staff have done either course 1 OR course 2 OR course 3 etc but I can't seem to return which staff have done course 1 AND course 2 AND Course 3.
I'm using a form with a list box to list all the courses, the users then selects the courses they require from the list and a commamd button will produce a report listing the staff who have attended.
The OR functionality works fine but I can't get the AND aspect to work.
The users can select any number of courses to query.
Anybody help on this one?