Google Answers Logo
View Question
 
Q: MSAccess 2000: sort groups in report ( No Answer,   1 Comment )
Question  
Subject: MSAccess 2000: sort groups in report
Category: Computers > Software
Asked by: brianlack-ga
List Price: $10.00
Posted: 25 Jun 2002 06:22 PDT
Expires: 25 Jun 2002 12:05 PDT
Question ID: 32870
I've got a table of British WWII aces:
Pilot | Squadron | Kills
John      2nd        8
Mary      2nd        5
Alex      7th       12

I make a Report, and group the data by Squadron:
Squadron |Pilot | Kills
2nd
          John      8
          Mary      5
       Tot. kills: 13
7th
          Alex     12
       Tot. kills: 12

Under "Sorting & Grouping" I set "Field/Expression" to [Squadron], and
I can set "Sort Order" to either ascending or descending.  Also, in
the [Squadron] footer I  put a text box that calculates total kills
per squadron.

Problem: I want the squadrons to be ordered by total kills, not by
squadron name.  "Sorting & Grouping" will only let me order groups by
the group field, ascending or descending.

Note: This problem is not about sorting records, it is about sorting
the groups of records.  Perhaps the answer involves an intermediate
query or Visual Basic?
Answer  
There is no answer at this time.

Comments  
Subject: Re: MSAccess 2000: sort groups in report
From: wengland-ga on 25 Jun 2002 11:10 PDT
 
I don't know the details, but yeah, you'll have to make an
intermediate query to generate the totals, then use that query in your
report.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy