<?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 on certain condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207806#M877033</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;STRONG&gt;(Replace both&amp;nbsp; inline tables with your Excel path)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v_initVerCheck=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;verCheck:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Ver_num&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last_Update:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;MAX(Ver_num) as MaxNewNumber&lt;/P&gt;&lt;P&gt;Resident verCheck;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET v_maxNewNum=peek('MaxNewNumber',0,'Last_Update');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if $(v_maxNewNum) &amp;gt; $(v_initVerCheck) then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Ver_num,Letter&lt;/P&gt;&lt;P&gt;1,A&lt;/P&gt;&lt;P&gt;2,B&lt;/P&gt;&lt;P&gt;3,C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v_initVerCheck = $(v_maxNewNum);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF&amp;nbsp; $(v_maxNewNum)&amp;lt;= $(v_initVerCheck) then&lt;/P&gt;&lt;P&gt;exit Script&lt;/P&gt;&lt;P&gt;end if;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table verCheck;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2016 15:31:09 GMT</pubDate>
    <dc:creator>robert_mika</dc:creator>
    <dc:date>2016-10-20T15:31:09Z</dc:date>
    <item>
      <title>reload on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207798#M877025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Excel file and which contain a column "Ver_num" in a sheet called ver_mgmt. After every changes to the source file, the Ver_num will increase by one. I want to load file if the version number matches with the current version number else it should give me a pop up saying the version number is updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose the current version number is 5 and i have loaded the file. now my QVW will have the version number 5. After making changes to the file , i will update the version number in excel file. Now the script should check for the latest version number and load the data into qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought of creating a variable to store the max of the version number. But how i can look for the latest version number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207798#M877025</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: reload on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207799#M877026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Look at incremental load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Your variable will be the max number in your Ver_num column&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;A href="https://www.analyticsvidhya.com/blog/2014/09/qlikview-incremental-load/" title="https://www.analyticsvidhya.com/blog/2014/09/qlikview-incremental-load/"&gt;https://www.analyticsvidhya.com/blog/2014/09/qlikview-incremental-load/&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;and combine with &lt;SPAN style="font-size: 13.3333px;"&gt; if/else statement with Exit Script.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 11:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207799#M877026</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2016-10-20T11:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: reload on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207800#M877027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;basically what i am looking is if the source file has ver_num say 8 and qvw file has ver_num 7 then the reload should happen if it is other way, the reload should not happen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 12:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207800#M877027</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2016-10-20T12:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: reload on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207801#M877028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could your post your excel file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 12:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207801#M877028</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2016-10-20T12:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: reload on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207802#M877029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , Due to some concerns, i am not able to upload the file. This is how my excel file looks(first column with column header Ver_num):&lt;/P&gt;&lt;P&gt;Ver_num&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once i load the above data, my qvw will have the same data i.e ver_num 1,2 and 3. If i update the version number 4 in excel, i should reload the doc now because ver_num 4 is not available in qvw. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i don't want reload to happen if the ver_num in excel is less than the ver_num in QVW file.If version number in excel is equal to or greater than the version number in qvw file, the reload should happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 12:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207802#M877029</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2016-10-20T12:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: reload on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207803#M877030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shall i ask Two questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Does this 4 value will updating from Existing Value?&lt;/P&gt;&lt;P&gt;2) You don't want to reload, Then what you are required(Still Confusing)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Ver_num&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FinalTable:&lt;/P&gt;&lt;P&gt;Load * Resident Excel;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FinalCopy:&lt;/P&gt;&lt;P&gt;noconcatenate&lt;/P&gt;&lt;P&gt;Load * Resident FinalTable where Ver_num &amp;gt;= Max(Ver_num);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, This which i understand &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 12:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207803#M877030</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-20T12:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: reload on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207804#M877031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am comparing the version number in the excel file and qvw file. The version number will updated in the excel file. The reload should happen if the latest version number is not available in the qvw file, else the reload should fail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 13:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207804#M877031</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2016-10-20T13:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: reload on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207805#M877032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// Check for updates&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;VerNum:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Ver_num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxVerNum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; [MyVerNums.xlsx]&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Sheet1);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;tTestedVerNum&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('MaxVerNum', 1); &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// Save the fieldvalue into a temp variable&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Drop&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; VerNum;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;If&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Not&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vLatestVerNum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// We have never checked this variable before&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vLatestVerNum&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 0; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// This is the stored variable&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;End&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;If&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;tTestedVerNum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vLatestVerNum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// A higher version. Reload&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Trace&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; A new set of data. Reloading...;&lt;BR /&gt; &lt;BR /&gt; T1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Fields&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;From&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Sample.qvd (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// Don't forget to save this new VerNum&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vLatestVerNum&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;tTestedVerNum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Else&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Trace&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; We have already loaded this data once...;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;End&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Set&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;tTestedVerNum&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// Undeclare&lt;BR /&gt; // Don't forget to save the document. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 15:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207805#M877032</guid>
      <dc:creator>mikael_bjaveclo</dc:creator>
      <dc:date>2016-10-20T15:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: reload on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207806#M877033</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;STRONG&gt;(Replace both&amp;nbsp; inline tables with your Excel path)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v_initVerCheck=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;verCheck:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Ver_num&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last_Update:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;MAX(Ver_num) as MaxNewNumber&lt;/P&gt;&lt;P&gt;Resident verCheck;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET v_maxNewNum=peek('MaxNewNumber',0,'Last_Update');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if $(v_maxNewNum) &amp;gt; $(v_initVerCheck) then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Ver_num,Letter&lt;/P&gt;&lt;P&gt;1,A&lt;/P&gt;&lt;P&gt;2,B&lt;/P&gt;&lt;P&gt;3,C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v_initVerCheck = $(v_maxNewNum);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF&amp;nbsp; $(v_maxNewNum)&amp;lt;= $(v_initVerCheck) then&lt;/P&gt;&lt;P&gt;exit Script&lt;/P&gt;&lt;P&gt;end if;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table verCheck;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 15:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207806#M877033</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2016-10-20T15:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: reload on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207807#M877034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching a sample file and qvw for better understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each time if there are any changes in Excel file, the version number get changed. Whenever i reload the qvw, it should check the existing version number in QVW file and compare with the version number in excel file. Based on this i want to show the message in text as shown in sample qvw file. Each time the reload should happen irrespective of whether the version number in excel and qvw match or not.&lt;/P&gt;&lt;P&gt;Please let know if i am not clear.&lt;SPAN style="font-size: 10pt;"&gt;I really appreciate your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2016 07:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207807#M877034</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2016-10-22T07:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: reload on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207808#M877035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we store the value as boolean. i.e it should show "True" if both the version number matches else "False".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 11:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reload-on-certain-condition/m-p/1207808#M877035</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2016-10-24T11:02:20Z</dc:date>
    </item>
  </channel>
</rss>

