Solved

Crystal Reports Formula

Posted on 2013-01-16
1
227 Views
Last Modified: 2013-01-16
I have the following working correctly...

if {icitem.item} = "NOTE-" then {sotran.descrip} then {sotran.descrip} else {icitem.itmdes2}

I need the following to it. "{icitem.item} = "CC_APPROVAL"

So if icitem.item = "NOTE-" or  "CC_APPROVAL" then {sotran.descrip} else {icitem.itmdes2} but that is not working.
0
Comment
Question by:jasonspopma
1 Comment
 
LVL 18

Accepted Solution

by:
vasto earned 500 total points
ID: 38784574
if icitem.item = "NOTE-" or  icitem.item = "CC_APPROVAL" then {sotran.descrip} else {icitem.itmdes2}
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

713 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