Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show All Records

Status
Not open for further replies.

ozzroo

Technical User
Feb 28, 2003
182
AU
Hi

I have two tables. Courses and Participants.

The participants form is a subform of the courses form.

Some of the courses have no participants and when I go to run my query on a list of the courses to see how many participants there was for each course, it is missing out the courses where there were no participants.

how do i include all courses so that i can see even the courses that have no participants

i want to see the course, total booked, total attended

any help would be great

thankyou
 
Take a look at outer joins:
SELECT .... FROM .... LEFT JOIN ....

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
thanks for your reply

i will have a look at it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top