<?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 statement script error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-statement-script-error/m-p/538209#M1138988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Syntax is like&lt;/P&gt;&lt;P&gt;if condition Then&lt;/P&gt;&lt;P&gt;&amp;lt;logic&amp;gt;&lt;/P&gt;&lt;P&gt;End if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so should be&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;IF '$(SourceTable)' &amp;lt;&amp;gt; '' THEN&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2013 18:53:47 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2013-09-18T18:53:47Z</dc:date>
    <item>
      <title>if statement script error</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-script-error/m-p/538208#M1138987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get an error msg from using script shown at bottom of this page --&lt;/P&gt;&lt;P&gt;Script line error: &lt;/P&gt;&lt;P&gt;IF 'tbl' &amp;lt;&amp;gt; ''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUB TraceRowCount (SourceTable)&lt;BR /&gt;IF '$(SourceTable)' &amp;lt;&amp;gt; ''&lt;BR /&gt;LET vNoOfRows = NoOfRows('$(SourceTable)');&lt;BR /&gt;TRACE &amp;gt;&amp;gt;&amp;gt; Number of rows in $(SourceTable): $(vNoOfRows);&lt;BR /&gt;LET vNoOfRows = Null();&lt;BR /&gt;ELSE&lt;BR /&gt;TRACE &amp;gt;&amp;gt;&amp;gt; No table name specified;&lt;BR /&gt;END IF&lt;BR /&gt;END SUB&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;tbl:&lt;BR /&gt;sql select * from Table123;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call TraceRowCount ('tbl');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 18:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-script-error/m-p/538208#M1138987</guid>
      <dc:creator>yelin_nyu</dc:creator>
      <dc:date>2013-09-18T18:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: if statement script error</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-script-error/m-p/538209#M1138988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Syntax is like&lt;/P&gt;&lt;P&gt;if condition Then&lt;/P&gt;&lt;P&gt;&amp;lt;logic&amp;gt;&lt;/P&gt;&lt;P&gt;End if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so should be&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;IF '$(SourceTable)' &amp;lt;&amp;gt; '' THEN&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 18:53:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-script-error/m-p/538209#M1138988</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-09-18T18:53:47Z</dc:date>
    </item>
  </channel>
</rss>

