<?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: Why &amp; When 'Garbage after statement' comes? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431584#M160911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempOrders:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'test' AS Category&lt;/P&gt;&lt;P&gt;AutoGenerate(0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vConcatenate = 'Concatenate(TempOrders)';&lt;/P&gt;&lt;P&gt;SET vTableName = 'vTempOrders';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vConcatenate)&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category11&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is no need to mention table name separately, it is mention in Concatenate().&amp;nbsp; So the variable tableString is not useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Mar 2013 08:52:50 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-03-12T08:52:50Z</dc:date>
    <item>
      <title>Why &amp; When 'Garbage after statement' comes?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431581#M160908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="34805" class="jive-image" alt="Error.JPG" src="https://community.qlik.com/legacyfs/online/34805_Error.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use like this above. Here I am getting a 'Garbage after statement' error. However if I am doing a Set errormode = 0, this is avoided and table loads fine.But I dont want to keep the rrormode = 0.&lt;/P&gt;&lt;P&gt;Coul you please suggest how to use this variables? Please test and let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 08:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431581#M160908</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-03-12T08:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why &amp; When 'Garbage after statement' comes?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431582#M160909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to make it in single quote.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'$(tableString)' &amp;amp; '$(concatenateSting)':&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 08:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431582#M160909</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-03-12T08:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why &amp; When 'Garbage after statement' comes?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431583#M160910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If that is exactly what you have in your load script, you are missing a semi-colon after the $(ConcatenateString) part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 08:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431583#M160910</guid>
      <dc:creator />
      <dc:date>2013-03-12T08:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why &amp; When 'Garbage after statement' comes?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431584#M160911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempOrders:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'test' AS Category&lt;/P&gt;&lt;P&gt;AutoGenerate(0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vConcatenate = 'Concatenate(TempOrders)';&lt;/P&gt;&lt;P&gt;SET vTableName = 'vTempOrders';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vConcatenate)&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category11&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is no need to mention table name separately, it is mention in Concatenate().&amp;nbsp; So the variable tableString is not useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 08:52:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431584#M160911</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-03-12T08:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why &amp; When 'Garbage after statement' comes?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431585#M160912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, putting a semicolon (;) or a colon (:) ,not working. &lt;/P&gt;&lt;P&gt;If Errormode = 0, then this is avoided and working. But I don't need to use that.&lt;/P&gt;&lt;P&gt;Any other solutions please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 09:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431585#M160912</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-03-12T09:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why &amp; When 'Garbage after statement' comes?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431586#M160913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="34807" class="jive-image" alt="Error1.JPG" src="https://community.qlik.com/legacyfs/online/34807_Error1.JPG" /&gt;&lt;/P&gt;&lt;P&gt;I have one more scenario like this. So I need a common solution for these 2 syntax error images.&lt;/P&gt;&lt;P&gt;Here also I am unable to fix the syntax issue. Any suggestions please???? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 09:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431586#M160913</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-03-12T09:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why &amp; When 'Garbage after statement' comes?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431587#M160914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; First of all you dont require to give table alice name before concatenate statement so remove $(tableString):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Secondly you need dont need to use the single quote when defining the variable with set statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So your variable defination will be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set _SupplierSelectionSql String = And SUPP_ID in (1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 09:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-When-Garbage-after-statement-comes/m-p/431587#M160914</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-12T09:58:41Z</dc:date>
    </item>
  </channel>
</rss>

