Solved

rename data in crystal reports

Posted on 2009-04-07
2
199 Views
Last Modified: 2012-05-06
This is quite a basic question so i'm sorry, i know how to do this in basic but my programming isn't brilliant beyond that.

I have a field Project Type {ProjectIMAPIView.Field37166}

which is either Highly Probable, Probable, Prospect or Business Development

The report that I am creating sorts by this field in the order as above. I would also like to display which record belongs to which group but would prefer for the words to be abbreviated

Highly Probable = HB
Probable = PR
Prospect = PS
Business Development = BD

How can I do this?

Thanks Ed.
0
Comment
Question by:edmacey
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 24085908
You just need a formula field which derives the abbreviation and add it to your detail line.

If {ProjectIMAPIView.Field37166}= "Highly Probable" then
"HP"
else if {ProjectIMAPIView.Field37166}= "Probable" then
"PR"
else if {ProjectIMAPIView.Field37166}= "Prospect" then
"PS"
else if {ProjectIMAPIView.Field37166}= "Business Development" then
"BD"
else
"N/A"


0
 

Author Closing Comment

by:edmacey
ID: 31567430
Brilliant, thank you, I tried something like that but couldn't get it to work, I feel slightly like a numskull. Ed.
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.

Question has a verified solution.

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

Suggested Solutions

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…
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 …

831 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