A
AJ
HELP!
I have a very simple DB... 1 table collects staff info, including a pay rate.
A second table collects a breakdown of how the spent their hours each day,
as well as the date.
I am working towards building a report that will pull up a date range (pay
period), show a sum of all the hours worked, and calculate their pay...
I am stuck on the Query.
I build a Query, with a condition in the date ' Between [Start Date] and
[End Date] '... this pulls up the date range that I ask for...
But it will not allow me to use the sum function because each date is unique.
If I remove the date from the query, I get what I am looking for... but the
SUM is now a sum of the persons hours for the entire year... rather than a
specified pay period.
Is there any way to generate a query that will allow you to search for a
date range, and then disregard the unique dates while calculating the sum's
of each labor category?
Is my question clear enough.... I think i may have even confused myself.
I have a very simple DB... 1 table collects staff info, including a pay rate.
A second table collects a breakdown of how the spent their hours each day,
as well as the date.
I am working towards building a report that will pull up a date range (pay
period), show a sum of all the hours worked, and calculate their pay...
I am stuck on the Query.
I build a Query, with a condition in the date ' Between [Start Date] and
[End Date] '... this pulls up the date range that I ask for...
But it will not allow me to use the sum function because each date is unique.
If I remove the date from the query, I get what I am looking for... but the
SUM is now a sum of the persons hours for the entire year... rather than a
specified pay period.
Is there any way to generate a query that will allow you to search for a
date range, and then disregard the unique dates while calculating the sum's
of each labor category?
Is my question clear enough.... I think i may have even confused myself.