Improve company productivity with a Business Account.Sign Up

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

rename data in crystal reports

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
edmacey
Asked:
edmacey
1 Solution
 
peter57rCommented:
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
 
edmaceyAuthor Commented:
Brilliant, thank you, I tried something like that but couldn't get it to work, I feel slightly like a numskull. Ed.
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.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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