Solved

rename data in crystal reports

Posted on 2009-04-07
2
207 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
[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
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

695 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