?
Solved

Using Crystal 9 and need to convert field values to a text equivalent

Posted on 2003-02-21
2
Medium Priority
?
191 Views
Last Modified: 2010-04-17
I have created a report in Crystal which obtains data from an Access database.  I have a field called status which holds the
values 0 which should display as "Active"
       1 which should display as "Inactive"
       2 which should display as "Left"

I do not know Crystal well at all and am on a steep learning curve.  Any help and advise on how to get the report to display the correct text based on the status value?

 
0
Comment
Question by:Littleone
[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
 

Accepted Solution

by:
massDer earned 150 total points
ID: 7994644
The Easiest way to do this would be to create a formula field. Click on the formula workshop icon (looks like x-1).
Click New Formula (dont accidently create a new function).
Name the formula and then click on it in the left pane.

type this as the formula:

if whatevertablename.status = 0 then
    "Active"
else if whatevertablename.status = 1 then
    "Inactive"
else
    "Left"

replace whatevertablename with the name of your access database table.
0
 

Author Comment

by:Littleone
ID: 8032494
Thank you for your response this worked a treat
Cheers
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Make the most of your online learning experience.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Starting up a Project

764 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