Hi,
I have a table that contain jobdate, staffname, overtimehrs, standardhrs field. Now I can sum the number of overtimehrs and standardhrs using Group by and Sum but when I add the criteria for a date range to be selected (Between [Start date] and {End Date]) the query returns multi lines for each staffname everytime the jobdate is different.
Is there a way of selecting a date range with out it affecting the query view and still show a total for each staffname only.
Many Thanks
I have a table that contain jobdate, staffname, overtimehrs, standardhrs field. Now I can sum the number of overtimehrs and standardhrs using Group by and Sum but when I add the criteria for a date range to be selected (Between [Start date] and {End Date]) the query returns multi lines for each staffname everytime the jobdate is different.
Is there a way of selecting a date range with out it affecting the query view and still show a total for each staffname only.
Many Thanks