Question : Sub Totals and Sub Summaries

I'm trying to create a hours report for a time entry system for our employees but I cant seem to get the totals working right.

Header
Sub summary by Last Name
Sub summary by Week
    {Last Name}
          {Week 1}
           DATA
               REG and OT sub totals
          {Week 2}
           DATA
               REG and OT sub totals
     Sub totals for the week

Rinse Repeat
Grand totals...

the problem I'm having is it looks my sub totals for the weeks are making a running total and not just adding ONCE... :(

Answer : Sub Totals and Sub Summaries

ah, this is a pb. because summaries are broken per week on display, but not stored as such. so you can't sum them up.
I am afraid you need an extra field to store the week summary value. but your actual data structure is not suited... an extra intermediate table maybe required to store the week time + overtime by employee.
Random Solutions  
 
programming4us programming4us