Solved

Control cross-tab row sort order - Crystal 2008

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

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…
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 …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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