Solved

rename data in crystal reports

Posted on 2009-04-07
2
200 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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