Linked Table Wages calculated in query

supa_sumo

Registered User.
Local time
Today, 10:06
Joined
Jul 1, 2004
Messages
48
I have two tables linked in this query. The tblStaffHours and tblStaffDetails The tblstaffhours contains the hours worked and the date in which those hours are worked and tblStaffDetails containg all the staffs information including Hourly Rate . I tried to run a query that would add display the Staff details and the Hours worked. The Problem is that when i run it it displays the staff details for every day that they have worked. What i want is for it to display the staff details with a calculated field containing the total hours worked.

What have i done wrong?
 
use a total query, and group your records by the StaffID.
 
In addition, ensure the field that shows the days NOT part of the groupings.
 

Users who are viewing this thread

Back
Top Bottom