How to do calculations with fields calculated in subreports

G

Guest

I have a report with 8 subreports. Each subreport calculates totals. I need
at the end of the main report to make a final calculation with the
"subreports totals". Can anyone help me out please?

Saludos!
 
M

Marshall Barton

Eiby said:
I have a report with 8 subreports. Each subreport calculates totals. I need
at the end of the main report to make a final calculation with the
"subreports totals".

Assuming that each of the subreports only appears once in
the main report, you can use a text box expression like:

=subreport1.Report.total1 + subreport2.Report.total2 + ...

where subreportX is the name of the subreport **control** on
the main report and totalX is the name of the text box in
the subreport with its total.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top