2 totals in report; 1 works, 1 doesn't

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I and listing an inventory by manufacturer and model with totals on each group.
the totals work for the model but the total by manufacturer picks up the
total of the last group.
My detail section has the info to print and CntManuf ( =1 ) and ModelCount (
=1 )
The model group footer totals correctly by displaying TotModel (
=[ModelCount] ).
The manufacturer fotter is wrong when displaying TotManuf ( =[CntManuf] ).

Report looks like:
Compaq model A etc....
1 record(s) for this model
model B etc....
model B etc....
2 record(s) for this model
2 record(s) for this manufacturer

Do I have to do something special when I have a group total within a group
total?

Thanks for your assistance.
 
WhatsUpDoc said:
I and listing an inventory by manufacturer and model with totals on each group.
the totals work for the model but the total by manufacturer picks up the
total of the last group.
My detail section has the info to print and CntManuf ( =1 ) and ModelCount (
=1 )
The model group footer totals correctly by displaying TotModel (
=[ModelCount] ).
The manufacturer fotter is wrong when displaying TotManuf ( =[CntManuf] ).

Report looks like:
Compaq model A etc....
1 record(s) for this model
model B etc....
model B etc....
2 record(s) for this model
2 record(s) for this manufacturer

Do I have to do something special when I have a group total within a group
total?


Is there a good reason why your are using RunningSum text
boxes to count the records? It's much more straightforward
to use =Count(*) in any level group footer to do this kind
of thing.

If you must use RunningSum, then the CntManuf text box must
be in the model group footer and use the expression
=ModelCount
 
Back
Top