Solved

Sum column entry in subreport based on data not field name

Posted on 2008-10-01
5
240 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
Comment Utility
Sounds like another subreport just showing the totals is the way to do this.
0
 

Author Comment

by:proffittware
Comment Utility
Ok...

Group on description and totals ?
0
 
LVL 77

Assisted Solution

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

Author Comment

by:proffittware
Comment Utility
I will try and get back with you.
0
 

Author Comment

by:proffittware
Comment Utility
Thanks...that worked...
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

762 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

6 Experts available now in Live!

Get 1:1 Help Now