Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Change numbers to text Post Reply Post New Topic
Author Message
nslatter
Newbie
Newbie


Joined: 25 Mar 2010
Online Status: Offline
Posts: 2
Quote nslatter Replybullet Topic: Change numbers to text
     Posted: 25 Mar 2010 at 3:45am

I have a report that pulls the status of a workorder into the report as a number. These numbers mean the following:

 

1 = New

2 = Pending

3 = Work In Progess

4 = Completed

 

How do I use the returned number and convert it into the appropriate text response?

Thanks!
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 25 Mar 2010 at 4:02am
Make a formula field and use it for displaying the text...
 
if field=1 then 'New' else
if field=2 then 'Pending' else
if field=3 then 'Work In Progress' else
if field=4 then 'Completed'
IP IP Logged
nslatter
Newbie
Newbie


Joined: 25 Mar 2010
Online Status: Offline
Posts: 2
Quote nslatter Replybullet Posted: 25 Mar 2010 at 4:06am
Originally posted by DBlank

Make a formula field and use it for displaying the text...
 
if field=1 then 'New' else
if field=2 then 'Pending' else
if field=3 then 'Work In Progress' else
if field=4 then 'Completed'
 
 
Thanks!
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum