<?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: Partial Reload not running SET statements in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036248#M349292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if IsPartialReload() then&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;//drop Table TABNAME;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ENDIF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2016 17:57:48 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2016-04-14T17:57:48Z</dc:date>
    <item>
      <title>Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036241#M349285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So there's a fair amount of these questions out there already with no answers, but figured maybe it's worth asking again...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a script that works like the following basic example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14606550869106655 jive_text_macro" jivemacro_uid="_14606550869106655" modifiedtitle="true"&gt;
&lt;P&gt;Section Application;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;if not IsPartialReload() then&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//All my loads and joins can concatenates, etc.&lt;/P&gt;
&lt;P&gt;//None of these need to be replaced/added during a partial reload.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;end if;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//A bunch of set statements&lt;/P&gt;
&lt;P&gt;set _var1 = 0;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;set _var2 = 0;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;set _var3 = 1;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;set _var4 = 1;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that when I execute a partial reload, even though all the documentation I can find suggests that SET/LET statements are run, they are not being run. The variable values are never updated in the application upon completion of the partial reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036241#M349285</guid>
      <dc:creator>bdiamante</dc:creator>
      <dc:date>2016-04-14T17:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036242#M349286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would expect them to update. I am going to test now and get back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems to be working in the attached file. Would you be able to share a sample where you believe it isn't working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036242#M349286</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-14T17:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036243#M349287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u ry giving single quotes to variables and try?&lt;/P&gt;&lt;OL class="dp-xml" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #5c5c5c; margin: 0 0 1px 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;set &lt;SPAN class="attribute" style="font-weight: inherit; font-style: inherit; color: red; font-size: 9pt !important; background-color: inherit;"&gt;_var1&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; = '&lt;/SPAN&gt;&lt;SPAN class="attribute-value" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit;"&gt;0'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;set &lt;SPAN class="attribute" style="font-weight: inherit; font-style: inherit; color: red; font-size: 9pt !important; background-color: inherit;"&gt;_var2&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; = '&lt;/SPAN&gt;&lt;SPAN class="attribute-value" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit;"&gt;0'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;set &lt;SPAN class="attribute" style="font-weight: inherit; font-style: inherit; color: red; font-size: 9pt !important; background-color: inherit;"&gt;_var3&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; = '&lt;/SPAN&gt;&lt;SPAN class="attribute-value" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit;"&gt;1'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;set &lt;SPAN class="attribute" style="font-weight: inherit; font-style: inherit; color: red; font-size: 9pt !important; background-color: inherit;"&gt;_var4&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; = '&lt;/SPAN&gt;&lt;SPAN class="attribute-value" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit;"&gt;1'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036243#M349287</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-04-14T17:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036244#M349288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick response. This is strange. The example definitely works. Which leads me to believe there is something between my "if" and "end if" that is breaking it somehow. I'm testing a couple of things and will report back. The script is rather long and not sure how much of it I can actually post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036244#M349288</guid>
      <dc:creator>bdiamante</dc:creator>
      <dc:date>2016-04-14T17:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036245#M349289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if it matters, but can you try &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;ENDIF;&lt;/STRONG&gt;&lt;/SPAN&gt; without any space?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036245#M349289</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-14T17:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036246#M349290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried with quotes, and the endif without the space. Neither seemed to have an impact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I removed the ";" after "end if" altogether and that fixed it. Any ideas on why that would have broken things?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036246#M349290</guid>
      <dc:creator>bdiamante</dc:creator>
      <dc:date>2016-04-14T17:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036247#M349291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea, this is strange, but it is working for you, right? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036247#M349291</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-14T17:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036248#M349292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if IsPartialReload() then&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;//drop Table TABNAME;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ENDIF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036248#M349292</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-04-14T17:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036249#M349293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="emoticon-inline emoticon_happy" style="height: 16px; width: 16px;"&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; I'll make that change. Thanks! One last thing, I understand the difference between SET and LET statements, but what is the difference when declaring a variable without a SET or LET like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_var = 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036249#M349293</guid>
      <dc:creator>bdiamante</dc:creator>
      <dc:date>2016-04-14T17:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036250#M349294</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can write load script so that the variables are only set when there is a full reload:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 10px 20px; padding-left: 10px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;IF &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;IsPartialReload() = 0 THEN //If it is NOT a partial reload&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set Variable = whatever;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;ENDIF&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036250#M349294</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-04-14T17:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036251#M349295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is from QlikView's help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121718_Capture.PNG" style="height: 217px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/Let.htm" title="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/Let.htm"&gt;Let ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 18:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036251#M349295</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-14T18:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload not running SET statements</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036252#M349296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i thnk it will not create any variable &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 18:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-not-running-SET-statements/m-p/1036252#M349296</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-04-14T18:04:27Z</dc:date>
    </item>
  </channel>
</rss>

