Hi:
I have the following two queries:
SELECT Sum(IIf(Month(shDates.SchoolDays)=9,1,0)) AS September
FROM shDates;
SELECT First(month(shDates.SchoolDays)) As Month, Count(shDates.SchoolDays) As SchoolDays
FROM shDates
GROUP BY month(shdates.SchoolDays);
How do I combine one of them with my other query so it can all go on one report? This is the other query...
SELECT shData.MonthEarned, Sum(shData.HonorRoll) AS SumofHonorRoll, Sum(shData.StudentoftheWeek) AS SumOfStudentoftheWeek, Sum(shData.StudentoftheMonth) AS SumOfStudentoftheMonth, Count((DCount("[StudentPublicName]","shMain"))) AS CountofStudents
FROM shData
GROUP BY shData.MonthEarned;
Thanks,
xeb
I have the following two queries:
SELECT Sum(IIf(Month(shDates.SchoolDays)=9,1,0)) AS September
FROM shDates;
SELECT First(month(shDates.SchoolDays)) As Month, Count(shDates.SchoolDays) As SchoolDays
FROM shDates
GROUP BY month(shdates.SchoolDays);
How do I combine one of them with my other query so it can all go on one report? This is the other query...
SELECT shData.MonthEarned, Sum(shData.HonorRoll) AS SumofHonorRoll, Sum(shData.StudentoftheWeek) AS SumOfStudentoftheWeek, Sum(shData.StudentoftheMonth) AS SumOfStudentoftheMonth, Count((DCount("[StudentPublicName]","shMain"))) AS CountofStudents
FROM shData
GROUP BY shData.MonthEarned;
Thanks,
xeb