<?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: ReloadTime() in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455028#M609343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the quick reply &lt;/P&gt;&lt;P&gt;but i don't understand&lt;/P&gt;&lt;P&gt;the whole process takes about 10-15 seconds (reload script and UI)&lt;/P&gt;&lt;P&gt;when i'm writing in script "Reload() as ...;&lt;/P&gt;&lt;P&gt;what value is assigned to that field? reloadtime of what? the reload time of the script execution, no?&lt;/P&gt;&lt;P&gt;and also,&lt;/P&gt;&lt;P&gt;once the document was reloaded, saved and reopened - what value is being assigned to the textbox when i write inside "=reloadtime()"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Dec 2017 15:13:50 GMT</pubDate>
    <dc:creator>shayraber</dc:creator>
    <dc:date>2017-12-26T15:13:50Z</dc:date>
    <item>
      <title>ReloadTime() in script</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455026#M609341</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;why when I'm writing in script:&lt;/P&gt;&lt;P&gt;table_temp:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;RELOADTIME() AS reload_time,&lt;/P&gt;&lt;P&gt;....;&lt;/P&gt;&lt;P&gt;and when i write in a text object: "=ReloadTime()"&lt;/P&gt;&lt;P&gt;i get different results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s.&lt;/P&gt;&lt;P&gt;reload takes ~15 sec&lt;/P&gt;&lt;P&gt;value diff is ~4min&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 15:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455026#M609341</guid>
      <dc:creator>shayraber</dc:creator>
      <dc:date>2017-12-26T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: ReloadTime() in script</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455027#M609342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, You should Reload() now to get equal. And, In text object i believe we will get 10 seconds delay.. Because, QIX reloads script first and then UI &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 15:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455027#M609342</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-26T15:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: ReloadTime() in script</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455028#M609343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the quick reply &lt;/P&gt;&lt;P&gt;but i don't understand&lt;/P&gt;&lt;P&gt;the whole process takes about 10-15 seconds (reload script and UI)&lt;/P&gt;&lt;P&gt;when i'm writing in script "Reload() as ...;&lt;/P&gt;&lt;P&gt;what value is assigned to that field? reloadtime of what? the reload time of the script execution, no?&lt;/P&gt;&lt;P&gt;and also,&lt;/P&gt;&lt;P&gt;once the document was reloaded, saved and reopened - what value is being assigned to the textbox when i write inside "=reloadtime()"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 15:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455028#M609343</guid>
      <dc:creator>shayraber</dc:creator>
      <dc:date>2017-12-26T15:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: ReloadTime() in script</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455029#M609344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure, but could be that the ReloadTime() in the script is the ReloadTime() from the last run.... checking this theory now....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 15:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455029#M609344</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-26T15:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: ReloadTime() in script</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455030#M609345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are right!&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;just checked it now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 15:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455030#M609345</guid>
      <dc:creator>shayraber</dc:creator>
      <dc:date>2017-12-26T15:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: ReloadTime() in script</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455031#M609346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that is what it is....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reload1&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188152_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reload2&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/188156_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See how Reload2's reload_time = Reload1's ReloadTime(). I think the reason is because the true reload time is captured at the end of the script. Since you are still running the script while you use ReloadTime() in the script, the ReloadTime() is used from the last reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 15:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455031#M609346</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-26T15:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: ReloadTime() in script</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455032#M609347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the answer is what you (Sunny) wrote.&lt;/P&gt;&lt;P&gt;-&amp;gt; when written in script - RelodTime() returns the timestamp of last reload.&lt;/P&gt;&lt;P&gt;the solution is what Anil wrote&lt;/P&gt;&lt;P&gt;-&amp;gt; the way to handle this is to use Now() function in script in order to have pre-calculated field based on the script execution time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 15:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-in-script/m-p/1455032#M609347</guid>
      <dc:creator>shayraber</dc:creator>
      <dc:date>2017-12-26T15:27:30Z</dc:date>
    </item>
  </channel>
</rss>

