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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
creating subtotals and grand totals on a report?
I feel like I have tried everything!
All I want to do is calculate a subtotal on a report, and then add up all those totals for a grand total at the bottom. My report contains: Quantity, Product, and ProductPrice I want to subtotal each line (quantity*productprice) and then sum all those calculations into a grand total at the bottom. Does anyone know how to make this happen? -Thanks |
#2
|
|||
|
|||
creating subtotals and grand totals on a report?
nikki wrote:
I feel like I have tried everything! All I want to do is calculate a subtotal on a report, and then add up all those totals for a grand total at the bottom. My report contains: Quantity, Product, and ProductPrice I want to subtotal each line (quantity*productprice) and then sum all those calculations into a grand total at the bottom. Does anyone know how to make this happen? Add a text box to the detail section and set its control source expression to =quantity * productprice Then add a text box to the report footer section using this expression =Sum(quantity * productprice) -- Marsh MVP [MS Access] |
#3
|
|||
|
|||
creating subtotals and grand totals on a report?
In the detail section, use:
=quantity*productprice In any Group or the Report Footer, use: =Sum(quantity*productprice) -- Duane Hookom MS Access MVP -- "nikki" wrote in message ... I feel like I have tried everything! All I want to do is calculate a subtotal on a report, and then add up all those totals for a grand total at the bottom. My report contains: Quantity, Product, and ProductPrice I want to subtotal each line (quantity*productprice) and then sum all those calculations into a grand total at the bottom. Does anyone know how to make this happen? -Thanks |
#4
|
|||
|
|||
creating subtotals and grand totals on a report?
Duane Hookom wrote:
In the detail section, use: =quantity*productprice In any Group or the Report Footer, use: =Sum(quantity*productprice) The elegance of your solutions shines once again, Duane. -- Marsh |
#5
|
|||
|
|||
creating subtotals and grand totals on a report?
:-)
-- Duane Hookom MS Access MVP -- "Marshall Barton" wrote in message ... Duane Hookom wrote: In the detail section, use: =quantity*productprice In any Group or the Report Footer, use: =Sum(quantity*productprice) The elegance of your solutions shines once again, Duane. -- Marsh |
Thread Tools | |
Display Modes | |
|
|