<?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: Script Error Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596361#M683119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having one excel sheet with name as Data(OEE), Data(Line 1)....and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 08:57:41 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2014-03-04T08:57:41Z</dc:date>
    <item>
      <title>Script Error Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596354#M683109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this right way of defining a loop????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each vSheet in 'OEE','Line 1','Line 2','Line 3'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plant:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left(B,3) as Plant&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[amit.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, no labels, table is [Data $(vSheet)])&lt;/P&gt;&lt;P&gt;where RowNo() &amp;lt; 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 08:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596354#M683109</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-03-04T08:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596355#M683110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are missing a 'NEXT' at the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 08:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596355#M683110</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-04T08:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596356#M683111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You missed the NEXT at the end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For each vSheet in 'OEE','Line 1','Line 2','Line 3'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Plant:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left(B,3) as Plant&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[amit.xlsx]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, no labels, table is [Data $(vSheet)])&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where RowNo() &amp;lt; 1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 08:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596356#M683111</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-04T08:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596357#M683112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have Next at the bottom which I missed , My concern here whether this [Data $(vSheet)] is fine or not????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 08:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596357#M683112</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-03-04T08:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596358#M683113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is &lt;STRONG&gt;Data&lt;/STRONG&gt; for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your sheet name Data Line 1? If your sheet name is simply OEE, Line 1, Line 2... etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For each vSheet in 'OEE','Line 1','Line 2','Line 3'&lt;/P&gt;&lt;P&gt; Plant:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left(B,3) as Plant&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[amit.xlsx]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, no labels, table is [$(vSheet)])&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where RowNo() &amp;lt; 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT vSheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 08:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596358#M683113</guid>
      <dc:creator />
      <dc:date>2014-03-04T08:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596359#M683116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems fine. You might check for appropriation of space in the sheet name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 08:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596359#M683116</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-04T08:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596360#M683118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it will work, just try it and you'll see. On condition that the sheets are named 'Data OEE', 'Data Line 1' and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens is this: before each successive execution of the LOAD statement, the script engine will pre-scan the text of the LOAD statement (including the table name and semicolon), and replace all occurrences of dollar substitution strings with their respective values. The funny thing is, you can replace &lt;EM&gt;everything&lt;/EM&gt; with a $(name) tag, even the table name, the LOAD keyword and the semicolon. Not that it serves any use &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 08:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596360#M683118</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-04T08:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596361#M683119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having one excel sheet with name as Data(OEE), Data(Line 1)....and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 08:57:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596361#M683119</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-03-04T08:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596362#M683120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For each vSheet in 'OEE','Line 1','Line 2','Line 3'&lt;/P&gt;&lt;P&gt; Plant:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left(B,3) as Plant&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[amit.xlsx]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, no labels, table is [Data($(vSheet))])&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where RowNo() &amp;lt; 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT vSheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 09:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596362#M683120</guid>
      <dc:creator />
      <dc:date>2014-03-04T09:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error Help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596363#M683121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Then try like:&lt;/P&gt;&lt;P&gt;For each vSheet in '&lt;STRONG&gt;(OEE)',('Line 1)',('Line 2)','(Line 3)&lt;/STRONG&gt;'&amp;nbsp;&amp;nbsp; // parenthesis&lt;/P&gt;&lt;P&gt;Plant:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left(B,3) as Plant&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[amit.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, no labels, table is [&lt;STRONG&gt;Data&lt;/STRONG&gt;$(vSheet)])&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // No space&lt;/P&gt;&lt;P&gt;where RowNo() &amp;lt; 1;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NEXT vSheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 09:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Help/m-p/596363#M683121</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-04T09:03:21Z</dc:date>
    </item>
  </channel>
</rss>

