Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using a single description for mulitple items formula

Posted on 2011-03-20
3
Medium Priority
?
318 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
3 Comments
 
LVL 12

Accepted Solution

by:
JayConverse earned 2000 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 101

Expert Comment

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

mlmcc
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month7 days, 11 hours left to enroll

824 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