C
Clif McIrvin
TraciAnn -- I think I have got it figured out.
Think "I need to count sub-groups", not "I need to count Tickets."
Using some of my data, I have come up with this:
Date Location Items
.... this is page 8 ........
2/23/2009 2 3
2/24/2009 4 2
2/25/2009 2 4
2/26/2009 2 2
3/2/2009 1 2
3/3/2009 2 2
3/4/2009 2 4
3/5/2009 1 6
3/6/2009 1 10
12/18/2009 1 2
Totals 483 1161
I counted the records using a select query, and the totals are correct.
You will need eight unbound text boxes and two groups to get the totals
you want.
I think you have the groups working as you need, we just need to get the
running sums doing what you want.
On the Detail section you need two unbound text boxes:
--- Name: txtPartsInGroup txtPartsAll
--- Control Source: =1 =1
--- Running Sum: Over Group Over All
On the Tickets (hidden) group header you need two unbound text boxes:
--- Name: txtTicketsInGroup txtTicketsAll
--- Control Source: =1 =1
--- Running Sum: Over Group Over All
On the Date Footer you have two unbound text boxes:
--- Control Source: txtTicketsInGroup txtPartsInGroup
--- Running Sum: No No
On the Report Footer you have two unbound text boxes:
--- Control Source: txtTicketsAll txtPartsAll
--- Running Sum: No No
(You already have Date behaving itself, so I didn't count it <g>.)
Think "I need to count sub-groups", not "I need to count Tickets."
Using some of my data, I have come up with this:
Date Location Items
.... this is page 8 ........
2/23/2009 2 3
2/24/2009 4 2
2/25/2009 2 4
2/26/2009 2 2
3/2/2009 1 2
3/3/2009 2 2
3/4/2009 2 4
3/5/2009 1 6
3/6/2009 1 10
12/18/2009 1 2
Totals 483 1161
I counted the records using a select query, and the totals are correct.
You will need eight unbound text boxes and two groups to get the totals
you want.
I think you have the groups working as you need, we just need to get the
running sums doing what you want.
On the Detail section you need two unbound text boxes:
--- Name: txtPartsInGroup txtPartsAll
--- Control Source: =1 =1
--- Running Sum: Over Group Over All
On the Tickets (hidden) group header you need two unbound text boxes:
--- Name: txtTicketsInGroup txtTicketsAll
--- Control Source: =1 =1
--- Running Sum: Over Group Over All
On the Date Footer you have two unbound text boxes:
--- Control Source: txtTicketsInGroup txtPartsInGroup
--- Running Sum: No No
On the Report Footer you have two unbound text boxes:
--- Control Source: txtTicketsAll txtPartsAll
--- Running Sum: No No
(You already have Date behaving itself, so I didn't count it <g>.)