Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report with 4 subforms - need grand total

Status
Not open for further replies.

JulieAnnL

Technical User
Jun 2, 2003
6
US
I have a report with 4 subforms (one for each category). The category totals are in the subform, category footer. I need to add all these totals together for a grand total, but nothing I try works.
 
Thanks for your help! I read the article you referenced and I must be missing something. In the sample, it only uses one subreport. I don't see where it explains how to add the totals for more than one subreport.
 
I see what you mean. Maybe you should follow the instructions in the other section: Displaying the Total from a Subreport on a Main Report. See #8, add an invisible text box under each subreport that will hold each subreport's total, then sum those 4 invisible text boxes together in another text box to get your grand total.....
 
I already did this step (#8). It worked great. Where my problem lies in in creating the text box that adds the totals together. I keep getting the parameter boxes. I think this means my expression is not correct. I tried: =Sum(([Category 1 Total])+([Category 2 Total])+(Category 3 Total)+(Category 4 total])) and the same expression with =Val, blah, blah. This didn't work.
 
This should work, provided these are the names of the invisible text boxes:
Code:
=[Category 1 Total]+[Category 2 Total]+[Category 3 Total]+[Category 4 Total]
I don't know if it was a typo or not, but some brackets were missing......
 
HEY! It worked this time. My report is complete. THANKS SO MUCH!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top