Solved

Sum column entry in subreport based on data not field name

Posted on 2008-10-01
5
243 Views
Last Modified: 2008-10-02
The main report has the consignor information and the subreport shows the detail for each item they had for sale.

The description field is call DESC and it will have various thing entered in it....Collected, Uncollected, Commission, Classic, Fee, Miscellaneous.

I need to get a separate grand total for all the items that the description is (Collected, Commission, Classic, Fee and Miscellaneous). Then those totals need to be in the main form. The field name for the amounts in the subreport is AMOUNT. So I end up with a grand total for Collected, a grand total for Commission etc. on the main report for each consignor.
 
This is the output of the subreport.

Item #               Price                 Description        Amount       <---  (heading)
1                      1000.00             Collected            1000.00
(dup hidden)    (dup hidden)     Commission          500.00
(dup hidden)    (dup hidden)     Fee                       275.00

10                      2000.00           Collected            1000.00
(dup hidden)    (dup hidden)     Commission          500.00
(dup hidden)    (dup hidden)     Fee                       275.00

Main Report (at end for the Consignor)
                                                 Collected            2000.00
                                                 Commission        1000.00
                                                 Fee                       500.00

Each consignor has a separate report.

Can anyone help...?

0
Comment
Question by:proffittware
  • 3
  • 2
5 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 22621719
Sounds like another subreport just showing the totals is the way to do this.
0
 

Author Comment

by:proffittware
ID: 22623473
Ok...

Group on description and totals ?
0
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 500 total points
ID: 22624506
Yes- that would be my view.
0
 

Author Comment

by:proffittware
ID: 22627087
I will try and get back with you.
0
 

Author Comment

by:proffittware
ID: 22629092
Thanks...that worked...
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now