Solved

Control cross-tab row sort order - Crystal 2008

Posted on 2010-08-31
4
512 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
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 34

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now