<?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: If else syntax error in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-else-syntax-error-in-script/m-p/763370#M271386</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are missing 'Then' in the syntax.... Below is the syntax of If.... Then.... Else:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if condition then &lt;/P&gt;&lt;P&gt;&amp;nbsp; [ statements ] &lt;/P&gt;&lt;P&gt;{ elseif condition then &lt;/P&gt;&lt;P&gt;&amp;nbsp; [ statements ] } &lt;/P&gt;&lt;P&gt;[ else &lt;/P&gt;&lt;P&gt;&amp;nbsp; [ statements ] ] &lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Mar 2015 01:52:54 GMT</pubDate>
    <dc:creator>trdandamudi</dc:creator>
    <dc:date>2015-03-21T01:52:54Z</dc:date>
    <item>
      <title>If else syntax error in script</title>
      <link>https://community.qlik.com/t5/QlikView/If-else-syntax-error-in-script/m-p/763368#M271384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wat is the issue in this code? I have kept it in the script&lt;/P&gt;&lt;P&gt;I am getting error related to If and else. Anything wrong with the syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set flag = 'N';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If $(flag) = 'N' &lt;/P&gt;&lt;P&gt; Set&amp;nbsp; $(vPO) =&amp;nbsp; $(vPO_C) ;&lt;/P&gt;&lt;P&gt; Set&amp;nbsp; $(vPSL) =&amp;nbsp; $(vPSL_C) ;&lt;/P&gt;&lt;P&gt; Set&amp;nbsp; $(vSHIP) =&amp;nbsp; $(vSHIP_C);&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Set $(vPO) =&amp;nbsp; $(vPO_H) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set&amp;nbsp; $(vPSL) =&amp;nbsp; $(vPSL_H);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set&amp;nbsp; $(vSHIP) =&amp;nbsp; $(vSHIP_H);&lt;/P&gt;&lt;P&gt;ENDIF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input would be appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Mar 2015 00:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-else-syntax-error-in-script/m-p/763368#M271384</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-03-21T00:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: If else syntax error in script</title>
      <link>https://community.qlik.com/t5/QlikView/If-else-syntax-error-in-script/m-p/763369#M271385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try add Then&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If $(flag) = 'N' then&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Set&amp;nbsp; $(vPO) =&amp;nbsp; $(vPO_C) ;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Set&amp;nbsp; $(vPSL) =&amp;nbsp; $(vP......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Mar 2015 00:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-else-syntax-error-in-script/m-p/763369#M271385</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-03-21T00:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: If else syntax error in script</title>
      <link>https://community.qlik.com/t5/QlikView/If-else-syntax-error-in-script/m-p/763370#M271386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are missing 'Then' in the syntax.... Below is the syntax of If.... Then.... Else:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if condition then &lt;/P&gt;&lt;P&gt;&amp;nbsp; [ statements ] &lt;/P&gt;&lt;P&gt;{ elseif condition then &lt;/P&gt;&lt;P&gt;&amp;nbsp; [ statements ] } &lt;/P&gt;&lt;P&gt;[ else &lt;/P&gt;&lt;P&gt;&amp;nbsp; [ statements ] ] &lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Mar 2015 01:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-else-syntax-error-in-script/m-p/763370#M271386</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2015-03-21T01:52:54Z</dc:date>
    </item>
  </channel>
</rss>

