<?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 Showing the last reload date of qvw in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222090#M74836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try this in the script.&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;ReloadTable:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;'Application2.qvw' &lt;B&gt;as&lt;/B&gt; Application,&lt;/P&gt;&lt;P&gt;reloadtime() &lt;B&gt;as&lt;/B&gt; ReloadTime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;autogenerate(1)&lt;/P&gt;;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;join(&lt;I&gt;ReloadTable&lt;/I&gt;)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;[Application], &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;ReloadTime&lt;/P&gt;&lt;P&gt;&lt;B&gt;FROM C:\QlikView\ReloadTable.qvd (qvd);&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store ReloadTable &lt;B&gt;into&lt;/B&gt; C:\QlikView\ReloadTable.qvd (qvd);&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jul 2010 14:49:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-13T14:49:50Z</dc:date>
    <item>
      <title>Showing the last reload date of qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222086#M74832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm making one application with the data from other applications. I need to show the last reload date of each application.&lt;/P&gt;&lt;P&gt;Where can I find such information? Log files aren't good for me. They show the last reload date, but do not take into account if the reload was successful or not. I need to display the last date of successful reload. If the reload wasn't successful, than I need to show previous successful reload...&lt;/P&gt;&lt;P&gt;I have one solution, but it doesn't work as good as I want:&lt;/P&gt;&lt;P&gt;There is an action "OnPostReload" in document settings. Using that I wrote a macro:&lt;/P&gt;&lt;P&gt;sub msgboxas&lt;BR /&gt; Dim cnn&lt;BR /&gt; set cnn = createobject("ADODB.Connection")&lt;BR /&gt; "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=staging;Data Source=."&lt;BR /&gt; "insert into Table1 values (getdate())"&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;The idea is that, when reload of an application is finished (successfully), the Action inserts today's date into SQL table "Table1".&lt;BR /&gt;So I can see not only the last reload date, but also all history.&lt;/P&gt;&lt;P&gt;This works perfect if I reload an application by hand. But if I use the "Comand line" to reload the application, the Action doesn't work (it doesn't insert today's date into SQL table "Table1".) So if the application is loaded automatically (I am using QlikView Server), the action doesn't work.&lt;/P&gt;&lt;P&gt;Any solution or new ideas?&lt;/P&gt;&lt;P&gt;King regards,&lt;BR /&gt;Milda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 12:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222086#M74832</guid>
      <dc:creator />
      <dc:date>2010-07-13T12:54:46Z</dc:date>
    </item>
    <item>
      <title>Showing the last reload date of qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222087#M74833</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 use this in a textbox to show last reload time.&lt;/P&gt;&lt;P&gt;='Last update' &amp;amp;&lt;B&gt;chr&lt;/B&gt;(13)&amp;amp;&lt;B&gt;ReloadTime&lt;/B&gt;( )&lt;/P&gt;&lt;P&gt;Maybe you can do something with this.&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 13:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222087#M74833</guid>
      <dc:creator />
      <dc:date>2010-07-13T13:02:42Z</dc:date>
    </item>
    <item>
      <title>Showing the last reload date of qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222088#M74834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Anders,&lt;/P&gt;&lt;P&gt;but this is not good for me, because this function shows the reload time of itself. And I need to show the reload time of other applications&lt;/P&gt;&lt;P&gt;Lets say i have 3 applications:&lt;BR /&gt; Application1.qvw&lt;BR /&gt; Application2.qvw&lt;BR /&gt; Application3.qvw&lt;BR /&gt;and one general application General.qvw.&lt;/P&gt;&lt;P&gt;In General.qvw i need to show the reload time of other applications:&lt;BR /&gt;&lt;STRONG&gt;Application&lt;/STRONG&gt; &lt;STRONG&gt;Reload Time&lt;BR /&gt;&lt;/STRONG&gt;Application1.qvw 2010.07.05&lt;BR /&gt;Application2.qvw 2010.07.10&lt;BR /&gt;Application3.qvw 2010.07.12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 13:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222088#M74834</guid>
      <dc:creator />
      <dc:date>2010-07-13T13:53:13Z</dc:date>
    </item>
    <item>
      <title>Showing the last reload date of qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222089#M74835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Maybe you can store the information i a QVD-table.&lt;/P&gt;&lt;P&gt;You can use &lt;STRONG&gt;ReloadTime&lt;/STRONG&gt;( ) in the script.&lt;/P&gt;&lt;P&gt;If you then store applicationname and reloadtime i a QVD-table&lt;/P&gt;&lt;P&gt;you will have a logfile.&lt;/P&gt;&lt;P&gt;I have not test it yet, but I think it will work.&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 14:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222089#M74835</guid>
      <dc:creator />
      <dc:date>2010-07-13T14:18:40Z</dc:date>
    </item>
    <item>
      <title>Showing the last reload date of qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222090#M74836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try this in the script.&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;ReloadTable:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;'Application2.qvw' &lt;B&gt;as&lt;/B&gt; Application,&lt;/P&gt;&lt;P&gt;reloadtime() &lt;B&gt;as&lt;/B&gt; ReloadTime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;autogenerate(1)&lt;/P&gt;;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;join(&lt;I&gt;ReloadTable&lt;/I&gt;)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;[Application], &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;ReloadTime&lt;/P&gt;&lt;P&gt;&lt;B&gt;FROM C:\QlikView\ReloadTable.qvd (qvd);&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store ReloadTable &lt;B&gt;into&lt;/B&gt; C:\QlikView\ReloadTable.qvd (qvd);&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 14:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222090#M74836</guid>
      <dc:creator />
      <dc:date>2010-07-13T14:49:50Z</dc:date>
    </item>
    <item>
      <title>Showing the last reload date of qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222091#M74837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left:120px;"&gt;for each File in filelist (C:\Qlikview\*.qvw)&lt;/P&gt;&lt;P style="margin-left:160px;"&gt;QvwDates:&lt;/P&gt;&lt;P style="margin-left:160px;"&gt;Load '$(File)' as Name, FileSize( '$(File)' ) as&lt;/P&gt;&lt;P style="margin-left:160px;"&gt;Size, FileTime( '$(File)' ) as FileTime&lt;/P&gt;&lt;P style="margin-left:160px;"&gt;autogenerate 1;&lt;/P&gt;&lt;P style="margin-left:120px;"&gt;next File&lt;/P&gt;&lt;P style="margin-left:120px;"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 15:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222091#M74837</guid>
      <dc:creator />
      <dc:date>2010-07-13T15:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Showing the last reload date of qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222092#M74838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! Nice and simple. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 17:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222092#M74838</guid>
      <dc:creator />
      <dc:date>2014-12-30T17:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Showing the last reload date of qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222093#M74839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HEy,&lt;/P&gt;&lt;P&gt;I didn't ghet this.&lt;/P&gt;&lt;P&gt;Can you pls explain what is going on in first and second load statement ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 05:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222093#M74839</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2014-12-31T05:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Showing the last reload date of qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222094#M74840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where should i place these codes to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 02:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-last-reload-date-of-qvw/m-p/222094#M74840</guid>
      <dc:creator>jim_chan</dc:creator>
      <dc:date>2015-04-16T02:29:34Z</dc:date>
    </item>
  </channel>
</rss>

