• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • Last Modified:

Using a single description for mulitple items formula

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
srodgers45
Asked:
srodgers45
1 Solution
 
JayConverseCommented:
Don't use "=", use "in", as in:

if {incident.incidenttype} in ["321", "322", "323", "324"] then ...
0
 
srodgers45Author Commented:
Thanks, i knew it was something simple, i was also not using the brackets.
0
 
mlmccCommented:
= is supposed to work so it was probably the ( )

mlmcc
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now