Group by year, then by total

Tech-Archive recommends: Fix windows errors by optimizing your registry



I want to have a report that shows the orders in the database that have an
order date <2007. I need the report to group by order date <2007, the
highest $ amount first. However I need the report to keep the customers
together. In other words, if ABC Company has total orders in 2006 for
$10,000 and then has other orders in 2007 for $4,000, then the report would
look like:

ABC Company
2006 [Total$]=$10,000
ABC 1 radio Order date 12/1/2006 $5,000
ABC 1 radio Order date 1/1/2006 $5,000

2007 [Total$]=$5,000
ABC 1 DVD Order date 1/1/2007 $5,000

2003 [Total$]=$2,000
ABC 1 ipod Order date 1/1/2003 $2,000

XYZ Company
2006 [Total$]=$8,000
XYZ 1 radio Order date 12/1/2006 $4,000
XYZ 1 DVD Order date 12/1/2006 $4,000

and so on

Hopefully I'm giving you enough information. Thanks so much in advance.





The field names are:

Customer
Order Year
.



Relevant Pages

  • Another Multi-Select question
    ... I need the user to be able to select categories, and then create a report ... that lists every business that is using that category. ... ABC company will have 3 categories: ... Childrens Parties. ...
    (microsoft.public.access.forms)
  • Re: Help with a Query
    ... Use a SourceID as the primary key. ... Alter your query to incorporate this structure change. ... Abc Company, Inc. ... > Therefore when I run my report I get seperate report entries when they ...
    (microsoft.public.access.queries)
  • Re: Help with a Query
    ... >I currently have the following Query: ... > The problem that I am having is that some of the companies in my database ... > Abc Company, Inc. ... > Therefore when I run my report I get seperate report entries when they ...
    (microsoft.public.access.queries)
  • Re: Group by year, then by total
    ... In report design view, use the Sorting And Grouping dialog to group by the company and then an expression that indicates if the date is in 2007 or not. ... The first row of the dialog will contain the company name. ... if ABC Company has total orders in 2006 for ...
    (microsoft.public.access.reports)
  • calculated control
    ... These controls count the times a check box is ... This report has a subreport "ABC Company" which counts the ...
    (microsoft.public.access.reports)