A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Grouping Vs Sorting



 
 
Thread Tools Display Modes
  #1  
Old May 25th, 2004, 02:06 PM
Bryan
external usenet poster
 
Posts: n/a
Default Grouping Vs Sorting

My report is using only 2 columns; "Supplier" and "=Sum([CountOfNCR Number])" to total NCRs per supplier. Each supplier has multiple NCRs and so I grouped to show the name only once with the total count. The problem is, once I have grouped by supplier, I automatically establish a sort by that field, (Sorting and Grouping) but I really need to sort "=Sum([CountOfNCR Number])" in descending order. I've tried everything, but to no avail. Help, please!
Bryan
  #2  
Old May 25th, 2004, 05:23 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default Grouping Vs Sorting

Your Sum of NCRs must be included in your report's record source if you want
to use it in the sorting and grouping dialog. This may involve creating a
totals query that groups by Supplier and Counts the NCRs. Then add this
totals query to your report's record source and join the Supplier fields.
You can then add the CountOfNCRs to the grid and sort by it in the Grouping
and Sorting Dialog.

--
Duane Hookom
MS Access MVP
--

"Bryan" wrote in message
...
My report is using only 2 columns; "Supplier" and "=Sum([CountOfNCR

Number])" to total NCRs per supplier. Each supplier has multiple NCRs and
so I grouped to show the name only once with the total count. The problem
is, once I have grouped by supplier, I automatically establish a sort by
that field, (Sorting and Grouping) but I really need to sort
"=Sum([CountOfNCR Number])" in descending order. I've tried everything, but
to no avail. Help, please!
Bryan



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.