A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Totalling Expr1 in a report



 
 
Thread Tools Display Modes
  #1  
Old August 13th, 2009, 08:16 PM posted to microsoft.public.access.reports
SJL
external usenet poster
 
Posts: 31
Default Totalling Expr1 in a report

Hi
I am using a query to calculate saving amount in a report but want to show
total savings in Report footer. I cannot get total to appear using
Sum([Expr1]) is there some other expression I should use please?

Thanks
  #2  
Old August 13th, 2009, 09:04 PM posted to microsoft.public.access.reports
Steve[_77_]
external usenet poster
 
Posts: 1,017
Default Totalling Expr1 in a report

Open your report in design view and select the SavingAmount field. Open
properties and go to the data tab. Set running sum to Overall. Add a textbox
to the Report Footer and set its control source to =[SavingAmount]. The
textbox will show total savings.

Note: The savings amount field must be named SavingAmount.

Steve



"SJL" wrote in message
...
Hi
I am using a query to calculate saving amount in a report but want to show
total savings in Report footer. I cannot get total to appear using
Sum([Expr1]) is there some other expression I should use please?

Thanks



  #3  
Old August 13th, 2009, 09:12 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Totalling Expr1 in a report

Why Expr1? Do yourself a favor and give your columns real names. It would
help to know the calculation that creates the column. I expect it might be
returning a string value rather than a number. When you view the datasheet
view is Expr1 left or right-aligned? If it is left aligned, you have create a
text/string expression which can't be summed or averaged.

If you provided the calculation, we could probably suggest a solution like
wrapping the expression in the Val() function to convert your calculation to
numeric.

--
Duane Hookom
Microsoft Access MVP


"SJL" wrote:

Hi
I am using a query to calculate saving amount in a report but want to show
total savings in Report footer. I cannot get total to appear using
Sum([Expr1]) is there some other expression I should use please?

Thanks

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:10 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.