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]

???
SteveL13Asked:
Who is Participating?
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.

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

Open in new window

0

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
hnasrCommented:
Agree with IrogSinta's comment.

Clarifying:

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
 
mr
       fmr
        c1
              r1: fr1
        c2
             r2:  fr2

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

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

If the setting is like:
mr
       fmr
        r1
              r1: fr1
        r2
             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.
1
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.