<?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: Syntax Error when executing sub in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Syntax-Error-when-executing-sub/m-p/1337146#M412354</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe is missing &lt;STRONG&gt;then&lt;/STRONG&gt; at the end of first row.&lt;/P&gt;&lt;P&gt;If .... then&lt;/P&gt;&lt;P&gt;........;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;--------------;&lt;/P&gt;&lt;P&gt;endif;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2017 16:10:26 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-07-19T16:10:26Z</dc:date>
    <item>
      <title>Syntax Error when executing sub</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error-when-executing-sub/m-p/1337144#M412352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following sub routine in the scripting environment which keeps giving me a syntax error, although it only gets detected one the sub is called:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sub traceRowCount(sTable)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if '$(sTable)' &amp;lt;&amp;gt; ''&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vNumOfRows = NoOfRows('$(sTable)');&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace &amp;gt;&amp;gt;&amp;gt; Number of Rows in $(sTable) : $(vNumOfRows);&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vNumOFRows = null();&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace &amp;gt;&amp;gt;&amp;gt; No table name specified;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;end sub&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;the errors occur when it reaches - if, else and endif - lines and I have no idea why, I thought it might be the table name but it isn't. I am relatively new to Qlik tech and don't know much in regards to Qliks Script environment's own language. So where am I going wrong fellas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Error-when-executing-sub/m-p/1337144#M412352</guid>
      <dc:creator>lmengesha</dc:creator>
      <dc:date>2017-07-19T15:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error when executing sub</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error-when-executing-sub/m-p/1337145#M412353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you missed CALL function ?? Will you provide full script ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 16:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Error-when-executing-sub/m-p/1337145#M412353</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-19T16:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error when executing sub</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error-when-executing-sub/m-p/1337146#M412354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe is missing &lt;STRONG&gt;then&lt;/STRONG&gt; at the end of first row.&lt;/P&gt;&lt;P&gt;If .... then&lt;/P&gt;&lt;P&gt;........;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;--------------;&lt;/P&gt;&lt;P&gt;endif;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 16:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Error-when-executing-sub/m-p/1337146#M412354</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-19T16:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error when executing sub</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error-when-executing-sub/m-p/1337147#M412355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats exactly what was missing, I can't believe the tutorial missed that tho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 16:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Error-when-executing-sub/m-p/1337147#M412355</guid>
      <dc:creator>lmengesha</dc:creator>
      <dc:date>2017-07-19T16:14:45Z</dc:date>
    </item>
  </channel>
</rss>

