I am trying to create a Dsum for a query. Right now I have 4 different Workorders and several different types of workers who have labor hours associated with those workorders. I want to sum the amount of labor hours employee type "Project_Crew" has. Each time I try it gives the the sum for all workorders not just the row I want. If the picture attached there is only 1 employee with 8 hours of time for workorder 123 but it is showing in the right column that each workorder has 8 hrs when it should show that only 123 has 8 hrs. What am I doing wrong. Thanks
This is the expression i entered into the Query.
ProjectCrewST: DSum("[HoursWorked]","DSUM","[Craft]='Project_Crew' AND [Workorder]=[Workorder]")