L
Leif
I have a report that has three groups and a detail level.
I'm interested in displaying a count of entries from the third level group
at the end of the first and second group. For example,
Group 1
Group 2
Group 3
Detail
Group 2 Footer - Count of Group 3 records
Group 1 Footer - Count of Group 3 records
I have no problem in getting the group 2 footer. I just create a text box
with a control source of =1 in group 3, and running total set to yes, per
Access help instructions.
However, I've not been able to get a count of group 3 records at the group 1
level. I've tried using =sum([group 2 count]), however, that does not work.
It seems sum can only be used on database fields, not text box values. I've
also tried setting up a second text box within group 3, but it only returns
the same value as in the group 2 footer just before the group 1 break.
I also have a second question. I have a after section break on group 2.
That is OK, except when there is a group 1 break, in which case I do not want
the group 2 page break. The reason is to get both totals on the same page on
a group 1 break (assuming I can get that part to work).
Thanks,
Leif
I'm interested in displaying a count of entries from the third level group
at the end of the first and second group. For example,
Group 1
Group 2
Group 3
Detail
Group 2 Footer - Count of Group 3 records
Group 1 Footer - Count of Group 3 records
I have no problem in getting the group 2 footer. I just create a text box
with a control source of =1 in group 3, and running total set to yes, per
Access help instructions.
However, I've not been able to get a count of group 3 records at the group 1
level. I've tried using =sum([group 2 count]), however, that does not work.
It seems sum can only be used on database fields, not text box values. I've
also tried setting up a second text box within group 3, but it only returns
the same value as in the group 2 footer just before the group 1 break.
I also have a second question. I have a after section break on group 2.
That is OK, except when there is a group 1 break, in which case I do not want
the group 2 page break. The reason is to get both totals on the same page on
a group 1 break (assuming I can get that part to work).
Thanks,
Leif