Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sum column entry in subreport based on data not field name

Posted on 2008-10-01
5
Medium Priority
?
261 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 2000 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 2000 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
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 …
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

721 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