<?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: Reload old data in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366316#M418133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes possible. Have you tried? Is there any issues you are facing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Aug 2017 07:38:48 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2017-08-08T07:38:48Z</dc:date>
    <item>
      <title>Reload old data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366315#M418132</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 problem with reload old data in script.&lt;/P&gt;&lt;P&gt;I want check some condition and if it`s true then load table from database but if it`s false then reload old data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If vA=5 then&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;Reload Old Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible? Any Idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 07:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366315#M418132</guid>
      <dc:creator>ambasadorknz</dc:creator>
      <dc:date>2017-08-08T07:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reload old data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366316#M418133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes possible. Have you tried? Is there any issues you are facing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 07:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366316#M418133</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-08T07:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reload old data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366317#M418134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it is possible; you can make use of below sample code snippet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15021780979595265" jivemacro_uid="_15021780979595265" modifiedtitle="true"&gt;
&lt;P&gt;if $(vLoadOldData) &amp;lt;&amp;gt; 0 then&lt;/P&gt;
&lt;P&gt;Table1:&lt;/P&gt;
&lt;P&gt;LOAD *&lt;/P&gt;
&lt;P&gt;FROM Old.qvd(QVD);&lt;/P&gt;
&lt;P&gt;ELSE&lt;/P&gt;
&lt;P&gt;Table1:&lt;/P&gt;
&lt;P&gt;LOAD *&lt;/P&gt;
&lt;P&gt;FROM New.qvd(QVD);&lt;/P&gt;
&lt;P&gt;ENDIF&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul Pawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 07:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366317#M418134</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-08-08T07:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reload old data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366318#M418135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vNew = Date(Today());&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If vA = 5 THEN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * From Table where PrimaryKey &amp;gt;= '$(vNew)';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * From Table Where PrimaryKey &amp;lt;= '$(vNew)';&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 07:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366318#M418135</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-08T07:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reload old data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366319#M418136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I should trace each table to reload old data??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Olik doesn`t have more simply way to solve this problem ( some function like exit stript etc....)??&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&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;If vA=5 then&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;// reload by new data&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load from dbo.orders;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table2:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load from dbo.Clients;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;else&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;// reload by old data&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load from //filepath/report_name.qvd(QVD);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table2:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;//filepath/report_name.qvd(QVD);&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ENDIF&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 07:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366319#M418136</guid>
      <dc:creator>ambasadorknz</dc:creator>
      <dc:date>2017-08-08T07:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reload old data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366320#M418137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it does, EXIT SCRIPT is the syntax. When this statement is read, the script finishes. See here for further reference and options to use WHEN or UNLESS along with EXIT SCRIPT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptControlStatements/exit%20script.htm" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptControlStatements/exit%20script.htm"&gt;Exit script ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually your code is quite similar to an actual QlikView script, and can be further refined to cover more cases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 08:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366320#M418137</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-08-08T08:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reload old data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366321#M418138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i use Exit Script Table1 and Table2 are empty... but i need old data in Table1 and Table2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 09:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366321#M418138</guid>
      <dc:creator>ambasadorknz</dc:creator>
      <dc:date>2017-08-08T09:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reload old data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366322#M418139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps your load statements are not correct or the tables or files empty?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366322#M418139</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-08-08T13:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reload old data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366323#M418140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load statement is correct&lt;/P&gt;&lt;P&gt;table isnt empty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example below&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366323#M418140</guid>
      <dc:creator>ambasadorknz</dc:creator>
      <dc:date>2017-08-08T13:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reload old data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366324#M418141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the ELSE you only have EXIT SCRIPT; if you still want the old data you will need to load it there, otherwise if minute is less than 30 then the script does nothing (exits)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 15:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366324#M418141</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-08-08T15:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reload old data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366325#M418142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So... i should load .qvd file before exit script??&lt;/P&gt;&lt;P&gt;What exactly do exit script.&lt;/P&gt;&lt;P&gt;Look at include file, reload it with param vtime to skip to ELSE statement check results and next comment line with exit script and reload again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of this scripts do the same... so do i need EXIT SCRIPT??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I`m not expert that pleas explain me difference more simple:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 08:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-old-data-in-script/m-p/1366325#M418142</guid>
      <dc:creator>ambasadorknz</dc:creator>
      <dc:date>2017-08-09T08:46:05Z</dc:date>
    </item>
  </channel>
</rss>

