Hi,
Hard to explain but I have a query that sorts the type of training attended "Drill" and by which members during a certain year. I then have crosstab query that counts the amount of "Drills" the members have attended in each quarter. The members that have attended are fed from a multi combobox from the table.
When the crosstab query runs it only shows the members that attended the "drill". I want to show all of the members on the query even if they have not attended a drill and it is blank. From this I can then conditional format the report to highlight members who don't make 4 drills in a quarter including those that have not turned up at all.
This is the original Query
This is the subsequent Crosstab Query
Hope the above makes sense. Any help would be great. Thank you in advance.
Hard to explain but I have a query that sorts the type of training attended "Drill" and by which members during a certain year. I then have crosstab query that counts the amount of "Drills" the members have attended in each quarter. The members that have attended are fed from a multi combobox from the table.
When the crosstab query runs it only shows the members that attended the "drill". I want to show all of the members on the query even if they have not attended a drill and it is blank. From this I can then conditional format the report to highlight members who don't make 4 drills in a quarter including those that have not turned up at all.
This is the original Query
Code:
SELECT tblAttendance1.DTE, tblAttendance1.ATTENDED.Value, tblAttendance1.[TYPE OF TRAINING] FROM tblAttendance1 WHERE (((tblAttendance1.DTE) Between #1/1/2005# And #12/31/2005#) AND ((tblAttendance1.[TYPE OF TRAINING])="DRILL"));
This is the subsequent Crosstab Query
Code:
TRANSFORM Count(qryDateDrill2005.[TYPE OF TRAINING]) AS [CountOfTYPE OF TRAINING] SELECT qryDateDrill2005.tblAttendance1.ATTENDED.Value, Count(qryDateDrill2005.[TYPE OF TRAINING]) AS [Total Of TYPE OF TRAINING] FROM qryDateDrill2005 GROUP BY qryDateDrill2005.tblAttendance1.ATTENDED.Value PIVOT "Qtr " & Format([DTE],"q/yyyy");
Comment