Solved

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

Posted on 2004-08-24
3
230 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
3 Comments
 
LVL 10

Accepted Solution

by:
ebolek earned 35 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
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 demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

746 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

9 Experts available now in Live!

Get 1:1 Help Now