Solved

Using a single description for mulitple items formula

Posted on 2011-03-20
3
314 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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. …
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

739 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