S
Stephanie
Hi. I'm trying to find all the locations that did NOT have incidents
reported. All I can seem to bring back is those locations that did report
incidents. I even branched out and tried a RIGHT join! I'd appreciate your
suggestions. Thanks!
SELECT DISTINCT tbOffices.Location
FROM qu_tbIncidents_Final_Ops_Completed_012 RIGHT JOIN tbOffices ON
qu_tbIncidents_Final_Ops_Completed_012.Location = tbOffices.Location
WHERE (((tbOffices.Location)=
[qu_tbIncidents_Final_Ops_Completed_012].[Location]) AND
((qu_tbIncidents_Final_Ops_Completed_012.[Discovery Date]) Between
CVDate([forms]![frquick]![StartDate]) And
CVDate([forms]![frquick]![EndDate])));
reported. All I can seem to bring back is those locations that did report
incidents. I even branched out and tried a RIGHT join! I'd appreciate your
suggestions. Thanks!
SELECT DISTINCT tbOffices.Location
FROM qu_tbIncidents_Final_Ops_Completed_012 RIGHT JOIN tbOffices ON
qu_tbIncidents_Final_Ops_Completed_012.Location = tbOffices.Location
WHERE (((tbOffices.Location)=
[qu_tbIncidents_Final_Ops_Completed_012].[Location]) AND
((qu_tbIncidents_Final_Ops_Completed_012.[Discovery Date]) Between
CVDate([forms]![frquick]![StartDate]) And
CVDate([forms]![frquick]![EndDate])));