J
J.J.
My current formula below works fine except it does not return a zero value
where there are no entries ie. no HoursWorked. I tried using Nz or IFf
IsNull etc but keep comming up with either a syntax error or else the blank
hrs are not reported on. I am doing something wrong but after two days I
haven't been able to find how to fix it and none of the other current posts
have helped.
SELECT Sum(TrackHours.HoursWorked) AS MnthSum, TrackHours.EmployeeID
FROM TrackHours
WHERE (dates fall within paremeters etc.)
GROUP BY TrackHours.EmployeeID;
Could someone show how to return zero hours for these poor forgotten and
unemployed souls. Thank you
where there are no entries ie. no HoursWorked. I tried using Nz or IFf
IsNull etc but keep comming up with either a syntax error or else the blank
hrs are not reported on. I am doing something wrong but after two days I
haven't been able to find how to fix it and none of the other current posts
have helped.
SELECT Sum(TrackHours.HoursWorked) AS MnthSum, TrackHours.EmployeeID
FROM TrackHours
WHERE (dates fall within paremeters etc.)
GROUP BY TrackHours.EmployeeID;
Could someone show how to return zero hours for these poor forgotten and
unemployed souls. Thank you