<?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 Error in script..For loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-script-For-loop/m-p/1128847#M371227</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;I have attached one application in which just for practice purpose written a code to generate random rows in fact table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the script is giving error at '120' row FOR L=1 to $(vPCount) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please guide me to know what is wrong in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Jun 2016 11:46:57 GMT</pubDate>
    <dc:creator>pra_kale</dc:creator>
    <dc:date>2016-06-05T11:46:57Z</dc:date>
    <item>
      <title>Error in script..For loop</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-script-For-loop/m-p/1128847#M371227</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;I have attached one application in which just for practice purpose written a code to generate random rows in fact table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the script is giving error at '120' row FOR L=1 to $(vPCount) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please guide me to know what is wrong in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jun 2016 11:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-script-For-loop/m-p/1128847#M371227</guid>
      <dc:creator>pra_kale</dc:creator>
      <dc:date>2016-06-05T11:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error in script..For loop</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-script-For-loop/m-p/1128848#M371228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;seems like your vPCount variable hasn't survived your script reload and I can't reload your script (missing the input table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest that you run your script in debug mode of the script editor and carefulls watch each variable being created correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jun 2016 12:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-script-For-loop/m-p/1128848#M371228</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-05T12:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error in script..For loop</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-script-For-loop/m-p/1128849#M371229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think, character 'c' is missing in your variable, instead of vDateFactor, you written vDateFator.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;vDateFactor&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;pow&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(2,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(vWeekDay)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) * (1-(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;now&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;())-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(vOrderDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))*0.05);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;// Calculate the random number of lines&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;vPCount&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Rand&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;()*&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: gray;"&gt;$(vDateFa&lt;/SPAN&gt;&lt;SPAN style="font-size: 24.0pt; font-family: 'Courier New'; color: red;"&gt;c&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: gray;"&gt;tor)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) + 1; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 03:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-script-For-loop/m-p/1128849#M371229</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-06-06T03:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error in script..For loop</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-script-For-loop/m-p/1128850#M371230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Swuehl and Settu for your Help..!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jun 2016 08:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-script-For-loop/m-p/1128850#M371230</guid>
      <dc:creator>pra_kale</dc:creator>
      <dc:date>2016-06-11T08:00:58Z</dc:date>
    </item>
  </channel>
</rss>

