Solved

SQL / BI Publisher

Posted on 2013-12-27
1
127 Views
Last Modified: 2014-03-10
Hi,

I have a piece of code used in word / BI Publisher which works
<?if: RESERVATION_TYPE_CODE!='PROV' and contains(RATE_CODE,'STAY')='true'?>

I would like to add an extra condition in so that if

RATE_CODE ='STAY3' or 'Stay 3' the statement is ignored.

Is this possible?
0
Comment
Question by:hellblazeruk
1 Comment
 
LVL 40

Accepted Solution

by:
Sharath earned 500 total points
ID: 39774336
try this.
<?if: RESERVATION_TYPE_CODE!='PROV' and contains(RATE_CODE,'STAY')='true' and RATE_CODE!='STAY3' and RATE_CODE!='Stay 3'?>

Open in new window

0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Addition to SQL for dynamic fields 6 47
SELECT query on two levels (detail and summary) 13 57
Filtering characters in an SQL field 2 16
SQL query and VBA 5 45
Introduction Hopefully the following mnemonic and, ultimately, the acronym it represents is common place to all those reading: Please Excuse My Dear Aunt Sally (PEMDAS). Briefly, though, PEMDAS is used to signify the order of operations (http://en.…
Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​

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