Solved

Control cross-tab row sort order - Crystal 2008

Posted on 2010-08-31
4
517 Views
Last Modified: 2012-05-10
Is there a way to control the cross-tab row sort order?

My cross-tab is grouped on the category field but the requirement is yo sort the category by the sort_order field in the database.  In order words, the customer wantd the categories to be sorted in the cross-tab by the sort_order field versus the row category field.

For example
category data prints as
Books
Paper
Pencil

But in the data base the sort_order field for each,  for example:
Books     3
Paper     1
Pencil     2

They would like it to appear in the following order, for example:
Paper
Pencil
Books


0
Comment
Question by:cookiejar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 12

Expert Comment

by:JayConverse
ID: 33573077
In the Cross Tab expert, click the Group Options button, then change "in ascending order" to "in specified order".
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 33573182
Specified order requires you to enter the values in order which means if they change the values in the database you have to change the report.

Try this

Change the cross tab to use the sort order field for the rows.
In the cross tab expert
Row - sort order field

Select the field in the boxClick the CHANGE GROUP button
On the options tab use a different field for display - the one you want

mlmcc
0
 
LVL 35

Expert Comment

by:James0628
ID: 33574124
mlmcc's suggestion should work, as long as the sort_order field is unique for each category, so it gives you the same grouping.

 James
0
 

Author Closing Comment

by:cookiejar
ID: 33587614
Thanks mlmcc for always giving me a good solution.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
New and Previous Value in Crystal Report 8 80
Pull date to Group header 6 36
Crystal Reports Server 2016 Installation, setup and use 5 724
free Crystal Report viewer 4 44
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question