UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Report Footer - Sum Problem    
 
   
Rainman
post May 16 2012, 09:10 AM
Post #1

UtterAccess Addict
Posts: 155



In the report I have a sub-grouping total based off a conditional test.
[Text91]
The control source for Text91 is =IIF(Sum([AmtDue])>10, Sum([AmtDue]),0)

The Text91 sub-total is working fine and doing exactly what it is supposed. However, I need a "Grand Total" at the bottom (Report Footer).

Right now the Grand Total is [Text104]
The control source is = Sum([Text91])

Which should add up all the individual sub-totals. When I run the report I get a pop-up window asking me to input a value for [Text91]. This error is ocurring at the footer level. How can I get a grand total in the report footer based on the sub-totals contained in the section footers?
Go to the top of the page
 
+
RAZMaddaz
post May 16 2012, 09:20 AM
Post #2

UtterAccess VIP
Posts: 6,171
From: Bethesda, MD USA



Does this sound like what you are trying to do?

Show Totals at Bottom of Report
Go to the top of the page
 
+
Rainman
post May 16 2012, 09:23 AM
Post #3

UtterAccess Addict
Posts: 155



Unfortunately No. The Sum function is in the report footer, not the page footer But thank you.
Go to the top of the page
 
+
Rainman
post May 16 2012, 09:26 AM
Post #4

UtterAccess Addict
Posts: 155



If it helps...lets say [Text91] represents a STATE total.
I want at the bottom of the report a grand total for the UNITED STATES.
How can I do that?
Is it the conditional statement in Text91 that's preventing that text box from being summed in the footer?
Go to the top of the page
 
+
RAZMaddaz
post May 16 2012, 09:38 AM
Post #5

UtterAccess VIP
Posts: 6,171
From: Bethesda, MD USA



If you enter in an unbound Text Box in the Detail Section of the Report =Sum([Text91]) and make this Text Box not visible and name it UnitedStates. Then in the Report Footer if you enter in an unbound Text Box =([UnitedStates]), does it give you the Grand Total you want?
Go to the top of the page
 
+
Rainman
post May 16 2012, 09:44 AM
Post #6

UtterAccess Addict
Posts: 155



Good idea. How would I get [UnitedStates] which we would hide... to = [Text91]?
Would that be an OnFormat Event?
Go to the top of the page
 
+
Rainman
post May 16 2012, 09:58 AM
Post #7

UtterAccess Addict
Posts: 155



Also....for the report footer....don't you mean:

=Sum([UnitedStates])

vs

([UnitedStates])

as you stated?
Go to the top of the page
 
+
RAZMaddaz
post May 16 2012, 10:45 AM
Post #8

UtterAccess VIP
Posts: 6,171
From: Bethesda, MD USA



QUOTE (Rainman @ May 16 2012, 10:44 AM) *
Good idea. How would I get [UnitedStates] which we would hide... to = [Text91]?
Would that be an OnFormat Event?


Read what I said before please.

In an unbound Text Box, placed in the Detail section of your Sub Report, make =Sum([Text91]). Then if you look at the Property sheet of this Text Box, under the Format Tab, change the Visible from Yes to No. Then under the All tab, name it UnitedStates.

Then in the Report Footer of the Main Report make it equal to the Text Box like the following:

=YourSubReportName.Report!UnitedStates

Change YourSubReportName to the name of your Sub Report. Do not include the Sum fuction here, because it is already used in the Sub Report.
Go to the top of the page
 
+
Rainman
post May 16 2012, 11:56 AM
Post #9

UtterAccess Addict
Posts: 155



I did read what you said. Both times.
However, it doesn't matter. I tried it it and it doesn't work
Go to the top of the page
 
+
RAZMaddaz
post May 16 2012, 12:19 PM
Post #10

UtterAccess VIP
Posts: 6,171
From: Bethesda, MD USA



Then upload a zipped copy of your dbase, with no private data and I will take a look.
Go to the top of the page
 
+
RAZMaddaz
post May 16 2012, 01:25 PM
Post #11

UtterAccess VIP
Posts: 6,171
From: Bethesda, MD USA



Rainman,

Is this a Main Report and a Sub Report that you are working with? If so, are you placing the Sub Report in the Detail Section of the Main Report? If so, if you click on the outside of the Sub Report and view the Property Sheet, click on the Data Tab is there anythin in the Link Masters Fields and the Link Child Fields and is the info correct? What, if anything, are you getting as the Grand Total? Thanks!

RAZMaddaz
Go to the top of the page
 
+
Rainman
post May 30 2012, 03:12 PM
Post #12

UtterAccess Addict
Posts: 155



The sub report is in the sub-footer section, not the detail section.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 25th May 2013 - 08:37 AM