Solved

SQL / BI Publisher

Posted on 2013-12-27
1
129 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 41

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

'Between' is such a common word we rarely think about it but in SQL it has a very specific definition we should be aware of. While most database vendors will have their own unique phrases to describe it (see references at end) the concept in common …
I'm trying, I really am. But I've seen so many wrong approaches involving date(time) boundaries I despair about my inability to explain it. I've seen quite a few recently that define a non-leap year as 364 days, or 366 days and the list goes on. …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

734 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