Got it to work this is the SQL for the entire query. This is actually pretty easy when you look at the SQL.
Code:
SELECT DDRs_Table.PWC,
Count([DDRs_Table]![PWC]) AS DDRSLOADED,
Count([DDRs_Table]![ERRORTYPE].[VALUE]) AS TOTALERRORS,
Sum(IIf([DDRs_Table]![ERRORTYPE]![Value]="AT",1,Null)) AS [AT],
Sum(IIf([DDRs_Table]![ERRORTYPE]![Value]="CA",1,Null)) AS CA,
Sum(IIf([DDRs_Table]![ERRORTYPE]![VALUE]="HMAL",1,Null)) AS HMAL,
Sum(IIf([DDRs_Table]![ERRORTYPE]![VALUE]="OTHER",1,Null)) AS OTHER,
Sum(IIf([DDRs_Table]![ERRORTYPE]![VALUE]="TM",1,Null)) AS TM,
Sum(IIf([DDRs_Table]![ERRORTYPE]![VALUE]="WUC",1,Null)) AS WUC,
Count(IIf([DDRs_Table]![DDRSTATUS]="ERROR NOT CORRECTABLE",1,Null)) AS UNCORRECTABLEERRORS,
Count(IIf([DDRs_Table]![DDRSTATUS]="NOT REVIEWED",1,Null)) AS NOTREVIEWED
FROM DDRs_Table
WHERE (((Month([DDRs_Table]![DATEINPUT]))=[Forms]![Switchboard_Form]![Month]) AND ((Year([DDRs_Table].[DATEINPUT]))=[Forms]![Switchboard_Form]![Year]))
OR
(((Year([DDRs_Table].[DATEINPUT]))=[Forms]![Switchboard_Form]![Year]) AND (([Forms]![Switchboard_Form]![Month]) Is Null))
GROUP BY DDRs_Table.PWC
ORDER BY DDRs_Table.PWC;