The following is the SQL for the query.
Code:
SELECT QA.[QA Number], QA.[QA Type], QA.[Discovered On], QA.Shift, QA.[Discovered By], QA.[Area Where Discovered], QA.[Receiving Area], QA.[Machine ID], QA.[Product Being Rejected], QA.[Date Produced], QA.[Lot Number or Cavity Number], QA.[RBS Die Number or Mold Letter], QA.[Details from Issuer], QA.[Immediate Actions Taken], QA.[Technician Addressing QA]
FROM Areas INNER JOIN QA ON (Areas.[Area ID] = QA.[Area Where Discovered]) AND (Areas.[Area ID] = QA.[Receiving Area])
WHERE (((QA.[Discovered On]) Between Date() & " 6:00:00" And Date()-1 & " 6:00:00" Or (QA.[Discovered On]) Between Date() & " 6:00:00" And Date()-1 & " 6:00:00") AND ([Areas]![Value Stream]="Fusion"));
The AND statement at the end is what needs to be adjusted. Instead of Areas being Fusion, it needs to be that the Value Stream of the Receiving Area = Fusion OR the Value Stream of the Area Where Discovered = Fusion. Disregard the time/date item, that works.