<?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: Error Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837684#M660001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank's but still with problems &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;see the picture&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2015 15:19:55 GMT</pubDate>
    <dc:creator>ecabanas</dc:creator>
    <dc:date>2015-04-01T15:19:55Z</dc:date>
    <item>
      <title>Error Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837682#M659999</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 have this script and give an error, did you know why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vExecTime=UTC();&lt;/P&gt;&lt;P&gt;Set vLastExecTime=0;&lt;/P&gt;&lt;P&gt;if (not IsNull(QvdCreateTime('$(VStore)INVENTTRANS_INCREMENTAL.qvd'))&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;LoadTime:&lt;/P&gt;&lt;P&gt;Load Max(LastModifiedDate)as LastModifiedDate&lt;/P&gt;&lt;P&gt;From $(VStore)INVENTTRANS_INCREMENTAL.qvd(qvd);&lt;/P&gt;&lt;P&gt;Let vLastExecTime=peek('LastModifiedDate',0,'LoadTime');&lt;/P&gt;&lt;P&gt;Drop Table LoadTime;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 15:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837682#M659999</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2015-04-01T15:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837683#M660000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use an if ... then instead of if ()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;A name="kanchor746"&gt;&lt;/A&gt;If..then..elseif..else..end if&lt;/H1&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;if..then&lt;/SPAN&gt; control statement is a script selection construct forcing the script execution to follow different paths depending on one or several logical conditions. The syntax is:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;if&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt; condition &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;then&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;&amp;nbsp; [ statements ] &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;{ &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;elseif&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt; condition &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;then&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;&amp;nbsp; [ statements ] } &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;[ &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;else&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;&amp;nbsp; [ statements ] ] &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Bold"&gt;end if&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;condition&lt;/SPAN&gt; is a logical expression which can be evaluated as true or false. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;statements&lt;/SPAN&gt; is any group of one or more QlikView script statements. &lt;/P&gt;&lt;P&gt;Since the &lt;SPAN class="Bold"&gt;if..then&lt;/SPAN&gt; statement is a control statement and as such is ended with either a semicolon or end-of-line, each of its four possible clauses (&lt;SPAN class="Bold"&gt;if..then&lt;/SPAN&gt;, &lt;SPAN class="Bold"&gt;elseif..then&lt;/SPAN&gt;, &lt;SPAN class="Bold"&gt;else&lt;/SPAN&gt; and &lt;SPAN class="Bold"&gt;end if&lt;/SPAN&gt;) must not cross a line boundary. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;if a=1 then&lt;/P&gt;&lt;P class="Code"&gt;load * from abc.csv;&lt;/P&gt;&lt;P class="Code"&gt;sql select e, f, g from tab1;&lt;/P&gt;&lt;P class="Code"&gt;end if&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;if a=1 then; drop table xyz; end if;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;if x&amp;gt;0 then&lt;/P&gt;&lt;P class="Code"&gt;load * from pos.csv;&lt;/P&gt;&lt;P class="Code"&gt;elseif x&amp;lt;0 then&lt;/P&gt;&lt;P class="Code"&gt;load * from neg.csv;&lt;/P&gt;&lt;P class="Code"&gt;else&lt;/P&gt;&lt;P class="Code"&gt;load * from zero.txt;&lt;/P&gt;&lt;P class="Code"&gt;end if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 15:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837683#M660000</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-01T15:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837684#M660001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank's but still with problems &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;see the picture&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 15:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837684#M660001</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2015-04-01T15:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837685#M660002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eduard, following Ramon instructions:&lt;/P&gt;&lt;P&gt;Since the &lt;SPAN class="Bold"&gt;if..then&lt;/SPAN&gt; statement is a control statement and as such is ended with either a semicolon or end-of-line,&lt;STRONG&gt; each of its four possible clauses (&lt;SPAN class="Bold"&gt;if..then&lt;/SPAN&gt;, &lt;SPAN class="Bold"&gt;elseif..then&lt;/SPAN&gt;, &lt;SPAN class="Bold"&gt;else&lt;/SPAN&gt; and &lt;SPAN class="Bold"&gt;end if&lt;/SPAN&gt;) &lt;SPAN style="text-decoration: underline;"&gt;must not cross a line boundary&lt;/SPAN&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 15:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837685#M660002</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-04-01T15:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837686#M660003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes the "if" and "then" have to be in the same line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 15:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837686#M660003</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-01T15:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837687#M660004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben, But i did not understand &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 15:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837687#M660004</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2015-04-01T15:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837688#M660005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many many thank's Ramon!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 15:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Load-Script/m-p/837688#M660005</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2015-04-01T15:30:56Z</dc:date>
    </item>
  </channel>
</rss>

