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  

sort by sum of a field



 
 
Thread Tools Display Modes
  #1  
Old April 14th, 2010, 05:22 PM posted to microsoft.public.access.reports
Darrell Eddy[_2_]
external usenet poster
 
Posts: 2
Default sort by sum of a field

I have a table with several thousand records with the following fields:

username, job, total pages

What I want to do is group the records by username, then count the total of
all grouped records of the total pages field to get a sum. Then I need to
sort the results of the total of the "total pages field in decending order.
I got a report to show me the summary of the user name and jobs, and to show
the total from the totalpages, but how do you sort the report on the total
pages by decending order?

Darrell Eddy


  #2  
Old April 14th, 2010, 07:20 PM posted to microsoft.public.access.reports
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default sort by sum of a field

Use the report Sorting and Grouping.

--
Build a little, test a little.


"Darrell Eddy" wrote:

I have a table with several thousand records with the following fields:

username, job, total pages

What I want to do is group the records by username, then count the total of
all grouped records of the total pages field to get a sum. Then I need to
sort the results of the total of the "total pages field in decending order.
I got a report to show me the summary of the user name and jobs, and to show
the total from the totalpages, but how do you sort the report on the total
pages by decending order?

Darrell Eddy


.

 




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 10:44 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.