<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Ternary notation help needed... in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Ternary-notation-help-needed/m-p/2305153#M76842</link>
    <description>&lt;P&gt;Legend - works a treat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2017 15:08:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-25T15:08:36Z</dc:date>
    <item>
      <title>Ternary notation help needed...</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ternary-notation-help-needed/m-p/2305151#M76840</link>
      <description>&lt;P&gt;I am trying to create a variable in the tMap component, which will allow me to test the contents of two input fields from tOracleInput, and output a 1 or 0 based on the result.&lt;/P&gt; 
&lt;P&gt;I've used a number of variations of notation but none of the,m seem to be giving me the result I expect (and know). Can anyone advised what I need to change in the below:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;(FirstOfMonth.VEHICLE_DRIVEABLE=="N"&amp;amp;&amp;amp;FirstOfMonth.BOOKING_IN_DATE!=null)?1:0&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 14:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ternary-notation-help-needed/m-p/2305151#M76840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-25T14:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ternary notation help needed...</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ternary-notation-help-needed/m-p/2305152#M76841</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You should never compare 2 strings using the "==" operator:&lt;/P&gt;
&lt;PRE&gt;("N".equals(FirstOfMonth.VEHICLE_DRIVEABLE) &amp;amp;&amp;amp; 
 FirstOfMonth.BOOKING_IN_DATE != null) ? 1 : 0&lt;/PRE&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 14:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ternary-notation-help-needed/m-p/2305152#M76841</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-10-25T14:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ternary notation help needed...</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ternary-notation-help-needed/m-p/2305153#M76842</link>
      <description>&lt;P&gt;Legend - works a treat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ternary-notation-help-needed/m-p/2305153#M76842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-25T15:08:36Z</dc:date>
    </item>
  </channel>
</rss>

