T
Tom Hart
I would like to show all rows (Division) in a crosstab
query whether the fields I am counting are null or not. I
know how to force the column headings, but is there a way
to force all the rows to be listed in a crosstab?
Here is the current code.
TRANSFORM Count(qryEmployeeCases.EmpID) AS CountOfEmpID
SELECT qryEmployeeCases.Division, Count
(qryEmployeeCases.EmpID) AS [Total Of EmpID], Sum
(qryEmployeeCases.CountOfCaseKey) AS SumOfCountOfCaseKey
FROM qryEmployeeCases, tblDates
WHERE (((qryEmployeeCases.DateEntered) Between [BegDate]
And [EndDate]))
GROUP BY qryEmployeeCases.Division
PIVOT qryEmployeeCases.EmpInd In ("Current","Corrective
Action","Terminated","Other");
Thank-you in advance.
query whether the fields I am counting are null or not. I
know how to force the column headings, but is there a way
to force all the rows to be listed in a crosstab?
Here is the current code.
TRANSFORM Count(qryEmployeeCases.EmpID) AS CountOfEmpID
SELECT qryEmployeeCases.Division, Count
(qryEmployeeCases.EmpID) AS [Total Of EmpID], Sum
(qryEmployeeCases.CountOfCaseKey) AS SumOfCountOfCaseKey
FROM qryEmployeeCases, tblDates
WHERE (((qryEmployeeCases.DateEntered) Between [BegDate]
And [EndDate]))
GROUP BY qryEmployeeCases.Division
PIVOT qryEmployeeCases.EmpInd In ("Current","Corrective
Action","Terminated","Other");
Thank-you in advance.