Solved

Using a single description for mulitple items formula

Posted on 2011-03-20
3
313 Views
Last Modified: 2012-06-21
This works if I only put in a single code "321", once i add more than one it does not show the description for those. Im sure its something simple.
Thanks in advance

if {incident.incidenttype} = ("321"; "322"; "323"; "324") then 'Medical' else 'Other'

I'm using Crystal 11
0
Comment
Question by:srodgers45
[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
3 Comments
 
LVL 12

Accepted Solution

by:
JayConverse earned 500 total points
ID: 35175787
Don't use "=", use "in", as in:

if {incident.incidenttype} in ["321", "322", "323", "324"] then ...
0
 

Author Closing Comment

by:srodgers45
ID: 35175803
Thanks, i knew it was something simple, i was also not using the brackets.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35176131
= is supposed to work so it was probably the ( )

mlmcc
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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. …
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

756 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