I have a crosstab query that is set up to display the counts of errors made by each technician in the database.
Row header: Tech initials
Column header: Error code
There are 30 possible error codes that are stored in a table called "tblAIT" (we refer to errors as AITs).
Right now my query is set up as:
This crosstab query is based on another query:
The query displays information for any errors that the techs have already made and counts them. However, I would like to be able to see every error code in the query with a zero if the tech has never made that error.
Is there a way for me to do that?
Row header: Tech initials
Column header: Error code
There are 30 possible error codes that are stored in a table called "tblAIT" (we refer to errors as AITs).
Right now my query is set up as:
Code:
TRANSFORM Count(qryMgrAIT.Key) AS CountOfKey
SELECT qryMgrAIT.tblAITInfo.TechRxEInit, qryMgrAIT.CellNum, qryMgrAIT.Location, Count(qryMgrAIT.Key) AS [Total Of Key]
FROM qryMgrAIT
GROUP BY qryMgrAIT.tblAITInfo.TechRxEInit, qryMgrAIT.CellNum, qryMgrAIT.Location
PIVOT qryMgrAIT.ErrorCode;
This crosstab query is based on another query:
Code:
SELECT tblAITInfo.*, tblTechs.*
FROM tblAITInfo INNER JOIN tblTechs ON tblAITInfo.TechRxEInit=tblTechs.TechRxEInit;
The query displays information for any errors that the techs have already made and counts them. However, I would like to be able to see every error code in the query with a zero if the tech has never made that error.
Is there a way for me to do that?