Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting ADP Report 1

Status
Not open for further replies.

sabloomer

Technical User
Joined
Aug 8, 2003
Messages
153
Location
US
I have an Stored Procedure that I am using to gather variables and use them as criteria for my report. My Stored Procedure is looking at invoice level data, meaning a record for each line on an invoice. The Stored Procedure is working great.

When I get to the report I want to the report I want to group the records into Customer Groups, Customers and them Items. I can do this by using the Group/Sorting option and mark the "Detail" section as not visible. So far not a problem...

I need to soft the report by Customer Group's total sales. I don't think it should be too hard but I can not figure out how to group by Customer Group, but sort these groups by sales.

Any Suggestions?
 
In the Grouping/Sorting dialog, place the Sort before the Group...

However, if you have totals calculated in the report, that won't work and you'll need them calculated somehow in the stored proc.


HTH

[pipe]
Daniel Vlas
Systems Consultant

 
Daniel,

Thank you. I was able to get the stored procedure to calculate the totals so I can sort on them. Looking at the Sorting and Grouping dialog box I am not sure how to "place the sort before the group".

Thanks Again,

sabloomer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top