Trying sum in the report page footer

I have two subreports on a main report.  Each of them have a numberin a field in the report footer section of the subreport.

But then in the main report page footer I am trying to sum those two subreport values.    I can't get anything to show up in the field on the main report.

I've tried this but it doesn't work:

=[Reports]![subrptAuditIndexPageExterior]![txtSumExterior] + [Reports]![subrptAuditIndexPageInterior]![txtSumInterior]

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try this:
=[subrptAuditIndexPageExterior].Report![txtSumExterior] + [subrptAuditIndexPageInterior].Report![txtSumInterior]

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hamed NasrRetired IT ProfessionalCommented:
Agree with IrogSinta's comment.


Assume reports mr, r1, r2
r1 has control fr1
r2 has control fr2
mr has control fmr
, control c1 which is a sub report control of Source object Report.r1
, control c2 which is a sub report control of Source object Report.r2
              r1: fr1
             r2:  fr2

Control source of fmr
= Reports!mr!c1.Report!fr1 + Reports!mr!c2.Report!fr2
= Report.c1!fr1 + Report.c2!fr2
= c1!fr1 + c2!fr2
= c1.Report!fr1 + c2.Report!fr2

The first reference is used as a complete path from Open reports collection.

If the setting is like:
              r1: fr1
             r2:  fr2
Where the sub report control name takes the name of its source object, then replace the c1 and c2 with r1 and r2 respectively in above code.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.