sum a subreport and display in main report

S

sunflower

I have a report grouped by month...
how do I sum [TotalExpense] in a subreport
and display it in the main report [TotalMonthExpense]

I have a text box [TotalMonthExpense]
in the group footer with control source
=[subrptJobExpense]![TotalExpense]

When I run the report the [TotalMonthExpense] is blank

Any help is appreciated
 
A

Allen Browne

You probably need to place a text box into the Report Footer section of your
subreport, so you get a total for the entire subreport.

Then for the tricks to transfer the total to the main report, see:
Bring the total from a subreport onto a main report
at:
http://allenbrowne.com/casu-18.html
 
S

sunflower

That worked perfectly...Thanks so much!

Allen Browne said:
You probably need to place a text box into the Report Footer section of
your subreport, so you get a total for the entire subreport.

Then for the tricks to transfer the total to the main report, see:
Bring the total from a subreport onto a main report
at:
http://allenbrowne.com/casu-18.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

sunflower said:
I have a report grouped by month...
how do I sum [TotalExpense] in a subreport
and display it in the main report [TotalMonthExpense]

I have a text box [TotalMonthExpense]
in the group footer with control source
=[subrptJobExpense]![TotalExpense]

When I run the report the [TotalMonthExpense] is blank
 

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