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  

Adding Totals on a report



 
 
Thread Tools Display Modes
  #1  
Old March 31st, 2008, 03:51 AM posted to microsoft.public.access.reports
Iram
external usenet poster
 
Posts: 122
Default Adding Totals on a report

Hello.
I am running Access 2003 and I need to total up a field on a report. It is a
sales and inventory database. I have two fields amongst many. One field is
called "Quantity" and the other is called "Price". I have both fields in the
"Detail" section of the report and in the "Item Footer" I have a Sum field
that adds up the quantity and in the Report Footer I have a grand total field
that sums up the total quantity (these two sum fields were created by the
wizard). I am not too worried about the quantity sum, what I really want is
to Sum all of the money made, example if I have 10 rows with a total quantity
of 1 for each row and a price of 1 dollar for each row, I would like to have
a field in the "Item Footer" that totals the total for each item and a grand
total in the Report footer.

Two questions:
1. How do I get this to work
2. Do know of any web page that explains in detail the best way to create a
Sales/Inventory database?

Your help is greatly appreciated.

Thanks.
Iram/mcp

  #2  
Old March 31st, 2008, 05:13 AM posted to microsoft.public.access.reports
Al Campagna[_2_]
external usenet poster
 
Posts: 1,462
Default Adding Totals on a report

Iram,
Using the query behind your report, and using the query design grid, add
a calculated column like this...
LineTotal : Price * Quantity
LineTotal is now a bound field, and can be placed on the report to show
the line totals, and can be added up in ANY group or report footer with...
=Sum(LineTotal)
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."

"Iram" wrote in message
...
Hello.
I am running Access 2003 and I need to total up a field on a report. It is
a
sales and inventory database. I have two fields amongst many. One field is
called "Quantity" and the other is called "Price". I have both fields in
the
"Detail" section of the report and in the "Item Footer" I have a Sum field
that adds up the quantity and in the Report Footer I have a grand total
field
that sums up the total quantity (these two sum fields were created by the
wizard). I am not too worried about the quantity sum, what I really want
is
to Sum all of the money made, example if I have 10 rows with a total
quantity
of 1 for each row and a price of 1 dollar for each row, I would like to
have
a field in the "Item Footer" that totals the total for each item and a
grand
total in the Report footer.

Two questions:
1. How do I get this to work
2. Do know of any web page that explains in detail the best way to create
a
Sales/Inventory database?

Your help is greatly appreciated.

Thanks.
Iram/mcp



  #3  
Old March 31st, 2008, 06:27 AM posted to microsoft.public.access.reports
Iram
external usenet poster
 
Posts: 122
Default Adding Totals on a report

Al,
you are the man!

Thanks a million I didn't know about the CCur function.


Thanks.
Iram/mcp


"Al Campagna" wrote:

Iram,
Using the query behind your report, and using the query design grid, add
a calculated column like this...
LineTotal : Price * Quantity
LineTotal is now a bound field, and can be placed on the report to show
the line totals, and can be added up in ANY group or report footer with...
=Sum(LineTotal)
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."

"Iram" wrote in message
...
Hello.
I am running Access 2003 and I need to total up a field on a report. It is
a
sales and inventory database. I have two fields amongst many. One field is
called "Quantity" and the other is called "Price". I have both fields in
the
"Detail" section of the report and in the "Item Footer" I have a Sum field
that adds up the quantity and in the Report Footer I have a grand total
field
that sums up the total quantity (these two sum fields were created by the
wizard). I am not too worried about the quantity sum, what I really want
is
to Sum all of the money made, example if I have 10 rows with a total
quantity
of 1 for each row and a price of 1 dollar for each row, I would like to
have
a field in the "Item Footer" that totals the total for each item and a
grand
total in the Report footer.

Two questions:
1. How do I get this to work
2. Do know of any web page that explains in detail the best way to create
a
Sales/Inventory database?

Your help is greatly appreciated.

Thanks.
Iram/mcp




 




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 06:23 PM.


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