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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal arrays

Status
Not open for further replies.

habbob

Programmer
Sep 11, 2012
2
US
I have a report listing customer rankings based on ytd sales. Now I need to add a column ranking
by prior YTD sales. Any suggestions for an array to do this? There may be up to 2000 customers.
 
This would mean that a particular customer would be 7th on one list and 12th on another, right?

An enormous amount of work to do with arrays in Crystal, both sets of data would need to be put into tables and recover them.

Much easier to have a 'frame' report that showed ytd sales and prior YTD sales as a pair of subreports, put side-by-side.

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 2008 with SQL and Windows XP [yinyang]
 
That was my first thought. I went the sub report route to get the prior year ranking. It takes a while to run because of the volumn of data to sift thru, but it works. Thanks for the response.
 
Use a command to run the same SQL for both periods and join the results

Viewer, scheduler and report manager for Crystal reports and SSRS.
Send your report everywhere.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top