D
Duane Hookom
What do you get from:
SELECT IsOther, tblIncidentLog.[CallDetail],
Count(tblIncidentLog.CallDetail) AS CountOfCallDetail,
FROM tblIncidentLog JOIN tblDetails ON tblIncidentLog.CallDetail =
tblDetails.CallDetail
WHERE tblIncidentLog.Date Between [Forms].[frmDistrictReport].[Start]
And [Forms].[frmDistrictReport].[End]
GROUP BY IsOther, tblIncidentLog.[CallDetail];
--
Duane Hookom
Microsoft Access MVP
SELECT IsOther, tblIncidentLog.[CallDetail],
Count(tblIncidentLog.CallDetail) AS CountOfCallDetail,
FROM tblIncidentLog JOIN tblDetails ON tblIncidentLog.CallDetail =
tblDetails.CallDetail
WHERE tblIncidentLog.Date Between [Forms].[frmDistrictReport].[Start]
And [Forms].[frmDistrictReport].[End]
GROUP BY IsOther, tblIncidentLog.[CallDetail];
--
Duane Hookom
Microsoft Access MVP
pushrodengine via AccessMonster.com said:SELECT CallDtl: IIf(IsOther, "Other", tblIncidentLog.[CallDetail]),
Count(tblIncidentLog.CallDetail) AS CountOfCallDetail,
FROM tblIncidentLog JOIN tblDetails ON tblIncidentLog.CallDetail =
tblDetails.CallDetail
WHERE tblIncidentLog.Date Between [Forms].[frmDistrictReport].[Start]
And [Forms].[frmDistrictReport].[End]
GROUP BY IIf(IsOther, "Other", tblIncidentLog.[CallDetail]);
I tried the expression and got another error that reads:
“Syntax error (missing operator) in query expression ‘CallDtl: IIf(IsOther,
“Otherâ€, tblIncidentLog.[CallDetail])’."