I have the following query as the record source for a report. I cannot seem to get the WHERE clause to evaluate the two conditions between the OR statement correctly. I tried several ways to enclose the two conditions with parentheses but must be doing something wrong.
Code:
SELECT tblProjects.[Project Name], Employees.[Last Name], Employees.[First Name], tblAssignments.[Assignment Start Date], tblAssignments.[Assignment End Date], tblAssignments.[Assignment Percent Utilized], tblProjects.[Project Category], Employees.Empl_Status
FROM tblProjects INNER JOIN (Employees INNER JOIN tblAssignments ON Employees.[Employee ID] = tblAssignments.[Employee ID]) ON tblProjects.ProjectID = tblAssignments.ProjectID
[COLOR=red]
WHERE (((tblAssignments.[Assignment Percent Utilized])<>0)) OR (((tblAssignments.[Assignment Percent Utilized])=0)) And (((tblAssignments.[ProjectID])=0))[/color]
ORDER BY tblProjects.[Project Name];