J
JNew
Greetings,
I'm probably making this more difficult than it needs to
be. I'm trying to separate records into two different
groups based on the cumulative value in a field. Here's an
example:
Original Records:
Name Day HoursWorked
Joe Mon 15
Joe Tue 15
Joe Wed 15
Joe Thu 10
Desired output for Report:
Regular Time:
Name Day Hours Total
Joe Mon 15 15
Joe Tue 15 30
Joe Wed 10 40
Overtime:
Name Day Hours Total
Joe Wed 5 5
Joe Thu 10 10
Besides the obvious fact that Joe is milking the clock,
I'm unable to develop the queries and/or functions that
creates the running sum AND separates records based on the
value of the running sum.
I'm hoping someone in this group can point me in the right
direction. I've used a running sum function I found in the
MS Knowledge Base, but I'm unable to group the records
based on the results of the function.
Any assistance will be appreciated.
jn
I'm probably making this more difficult than it needs to
be. I'm trying to separate records into two different
groups based on the cumulative value in a field. Here's an
example:
Original Records:
Name Day HoursWorked
Joe Mon 15
Joe Tue 15
Joe Wed 15
Joe Thu 10
Desired output for Report:
Regular Time:
Name Day Hours Total
Joe Mon 15 15
Joe Tue 15 30
Joe Wed 10 40
Overtime:
Name Day Hours Total
Joe Wed 5 5
Joe Thu 10 10
Besides the obvious fact that Joe is milking the clock,
I'm unable to develop the queries and/or functions that
creates the running sum AND separates records based on the
value of the running sum.
I'm hoping someone in this group can point me in the right
direction. I've used a running sum function I found in the
MS Knowledge Base, but I'm unable to group the records
based on the results of the function.
Any assistance will be appreciated.
jn