Crystal arrays Crystal arrays habbob (Programmer) (OP) 11 Sep 12 18:49 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. RE: Crystal arrays Madawc (Programmer) 13 Sep 12 06:31 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. Madawc Williams (East Anglia, UK). Using Crystal 2008 with SQL and Windows XP RE: Crystal arrays habbob (Programmer) (OP) 13 Sep 12 08:21 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. RE: Crystal arrays RTag (Programmer) 24 Sep 12 10:26 Use a command to run the same SQL for both periods and join the results www.R-Tag.com Viewer, scheduler and report manager for Crystal reports and SSRS. Send your report everywhere.