?
Solved

Is it possible to change group name in drill-down tree of crystal report:

Posted on 2004-08-24
3
Medium Priority
?
242 Views
Last Modified: 2012-08-13
There is a crystal report of 8.0 ver.
There are three catogries on it:
The third category is catogories like contractor, sub contractor, internal shop etc.
Each catagory is associated with letter like A, B, C etc:
A: sub-contractor
B: internal shop
C: contractor

both values are in same table and are comming in crystal report:
I want to sort the catogry by letter that is sub-contractor should comes first then internal shop and then contractor and so on:
But I dont want to display letter A, b, c etc.
is it possible that I make a farmula field and join both fields and sort them but when they are going display, I just display catagory ? On right hand side in main window it is possible but I want on left hand side in the tree: or any other solution to sort them like this:

Thanks for reading .
0
Comment
Question by:alakhan
[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
3 Comments
 
LVL 10

Accepted Solution

by:
ebolek earned 140 total points
ID: 11889399
you can group on the category code which is A, B, C,

Then you can open the group expert and custoze the names. As far ar I remember there must be a check box that you can give names to these groups.
In the report as you said, it is very easy you can create a formula and display the reult of the formula instead of letters

Stringvar category_name;
if {category_code} = "A" then
sub_contractor
else if {category_code} = "B" then
internal_shop
else if {category_code} = "C" then
contractor
else
.....

Regards
Emre


0
 
LVL 19

Expert Comment

by:GJParker
ID: 11890090
1. Go to the group expert and change the sort to "In specified Order"

2. go to the specified order tab and in the Named Group dropdown select A

3. click the edit button and in Group Name enter sub-contractor and click ok

repeat steps 2 and 3 for each of your groups.

Gary
0
 
LVL 28

Expert Comment

by:bdreed35
ID: 11891116
The easiest solution is the one that ebolek eluded to first.

In the Group Expert, there is a check box called "Customize Group Name".
Once you select that, 2 other options are enabled.
Select the radio button for "Choose from existing field" and select your category description.

This will show the category desciption in the Group Tree and in the Group Name field on teh actual report.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

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