Control cross-tab row sort order - Crystal 2008

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


cookiejarAsked:
Who is Participating?
 
mlmccCommented:
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
 
JayConverseCommented:
In the Cross Tab expert, click the Group Options button, then change "in ascending order" to "in specified order".
0
 
James0628Commented:
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
 
cookiejarAuthor Commented:
Thanks mlmcc for always giving me a good solution.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.