Solved

Using a single description for mulitple items formula

Posted on 2011-03-20
3
312 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 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

Title # Comments Views Activity
Not Exists 3 74
Crystal Reports Sub Report 4 90
Visual Studio .Net 2012 and Crystal Reports 9 91
Syntax error with existing report; works fine in new report. 2 19
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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 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