Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 523
  • Last Modified:

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


0
cookiejar
Asked:
cookiejar
1 Solution
 
JayConverseCommented:
In the Cross Tab expert, click the Group Options button, then change "in ascending order" to "in specified order".
0
 
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
 
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now