<?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 -1= Execution failed error on script load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/1-Execution-failed-error-on-script-load/m-p/35168#M782908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading this script which did not have any problem before and I get the following in the log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vTableName = TableName(14)&lt;/P&gt;&lt;P&gt;STORE CriteoAnalysis INTO [lib://QlikSenseData/QVDs/MarketingApp/CriteoAnalysis.qvd] (qvd)&lt;/P&gt;&lt;P&gt;NEXT vCount&lt;/P&gt;&lt;P&gt;-1 = &lt;/P&gt;&lt;P&gt;Execution Failed&lt;/P&gt;&lt;P&gt;Execution finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last batch&amp;nbsp; of script run is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR vCount = 0 to NoOfTables()-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vTableName = TableName($(vCount));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE $(vTableName) INTO [lib://QlikSenseData/QVDs/MarketingApp/$(vTableName).qvd] (qvd); &lt;/P&gt;&lt;P&gt;NEXT vCount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess -1 refers to the vCount but I don't understand why it just doesn't stop as CriteoAnalysis is the last table apart from another table [autocalendar] that is appended to Dates (eg TransactionDate.autocalendar.Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>-1= Execution failed error on script load</title>
      <link>https://community.qlik.com/t5/QlikView/1-Execution-failed-error-on-script-load/m-p/35168#M782908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading this script which did not have any problem before and I get the following in the log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vTableName = TableName(14)&lt;/P&gt;&lt;P&gt;STORE CriteoAnalysis INTO [lib://QlikSenseData/QVDs/MarketingApp/CriteoAnalysis.qvd] (qvd)&lt;/P&gt;&lt;P&gt;NEXT vCount&lt;/P&gt;&lt;P&gt;-1 = &lt;/P&gt;&lt;P&gt;Execution Failed&lt;/P&gt;&lt;P&gt;Execution finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last batch&amp;nbsp; of script run is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR vCount = 0 to NoOfTables()-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vTableName = TableName($(vCount));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE $(vTableName) INTO [lib://QlikSenseData/QVDs/MarketingApp/$(vTableName).qvd] (qvd); &lt;/P&gt;&lt;P&gt;NEXT vCount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess -1 refers to the vCount but I don't understand why it just doesn't stop as CriteoAnalysis is the last table apart from another table [autocalendar] that is appended to Dates (eg TransactionDate.autocalendar.Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-Execution-failed-error-on-script-load/m-p/35168#M782908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

