SELECT AllUsers.[User Name], Sum(Data.BoardOpsHours) AS SumOfBoardOpsHours, Sum(Data.ObserversHours) AS SumOfObserversHours
FROM Data, AllUsers
GROUP BY AllUsers.[User Name]
HAVING (([Data].[SSO] Like "*[AllUsers].[User Name]*") AND ([Data].[OpsEval] Like "*[AllUsers].User Name]*")) OR (([Data].[CRS] Like "*[AllUsers].[User Name]*") AND ([Data].[CrewObsv1] Like "*[AllUsers].[UserName]*")) OR (([Data].[OAC] Like "*[AllUsers].[User Name]*")) OR (([Data].[BOP] Like "*[AllUsers].[User Name]*")) OR (([Data].[STA] Like "*[AllUsers].[User Name]*")) OR (([Data].[CNO] Like "*[AllUsers].[User Name]*"))
ORDER BY AllUsers.[User Name];
|