<?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 Timers with VBScript in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189785#M52537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karol ,&lt;/P&gt;&lt;P&gt;Thanks for such beautiful example.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Bhushan N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Mar 2010 11:49:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-23T11:49:05Z</dc:date>
    <item>
      <title>Timers with VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189782#M52534</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 trying to setup a monitor application with QlikView, and one of the requirements that I'm trying to tackle is the ability to rotate the sheets in a document. on an interval. Think of it like a slideshow that loops forever and changes slides every 10 seconds.&lt;/P&gt;&lt;P&gt;I'm not a VBScript expert, but I'm sure I could come up with the correct code to handle the timing and the changing of the sheets. The problem is that I need to be able to run a subroutine in the background of the application. If I try to create an infinite loop, it will just hang the application forever. As far as I've read, I can't spawn a new thread with VBScript either, so I'm not sure what else I can do.&lt;/P&gt;&lt;P&gt;Any thoughts on how else I can solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 20:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189782#M52534</guid>
      <dc:creator />
      <dc:date>2010-03-22T20:30:35Z</dc:date>
    </item>
    <item>
      <title>Timers with VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189783#M52535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you do not have to use vbscript. Utilize now() function with some simple math functions and sheet property Show Conditional.&lt;/P&gt;&lt;P&gt;Have a look and play with this simple document attached - sheets changes around every 10 sec.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Karol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 00:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189783#M52535</guid>
      <dc:creator />
      <dc:date>2010-03-23T00:14:03Z</dc:date>
    </item>
    <item>
      <title>Timers with VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189784#M52536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karol&lt;/P&gt;&lt;P&gt;This looks great and may solve an issue I have...&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;1) Is it possible that you could give some background with regards to how this works?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;2) There will obviuoulsy be updates running in the background uodating the information which feeds the report.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;How do you force the report to refresh with the updated data?&lt;/P&gt;&lt;P&gt;Thanks in advance for any help you can give...&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 08:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189784#M52536</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2010-03-23T08:56:43Z</dc:date>
    </item>
    <item>
      <title>Timers with VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189785#M52537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karol ,&lt;/P&gt;&lt;P&gt;Thanks for such beautiful example.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Bhushan N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 11:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189785#M52537</guid>
      <dc:creator />
      <dc:date>2010-03-23T11:49:05Z</dc:date>
    </item>
    <item>
      <title>Timers with VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189786#M52538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;no problem, probably you will have to play with a little bit to adjust the Rotation Time to your needs.&lt;/P&gt;&lt;P&gt;This solution is using a now() function. Do a simple test a put this function into the Text Object and see that it is kind of dynamic (you can see seconds changing). I played with this function a little bit and I come to this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;B&gt;subfield&lt;/B&gt;(&lt;B&gt;replace&lt;/B&gt;(&lt;B&gt;round&lt;/B&gt;(&lt;B&gt;num&lt;/B&gt;(&lt;B&gt;now&lt;/B&gt;()),0.0001),'.','')/5,'.',2)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Put it to the Text Box and see how the results changes. You can see that you get values like null,2,4,6,8. So now you can use it in a Sheet's Show Condition property. Before that though, create 5 empty sheets, go to Document Properties-&amp;gt;Sheets-&amp;gt;, select first sheet, click on Properties button, go to General Tab, Select Show Sheet Conditional and put this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;B&gt;len&lt;/B&gt;(&lt;B&gt;subfield&lt;/B&gt;(&lt;B&gt;replace&lt;/B&gt;(&lt;B&gt;round&lt;/B&gt;(&lt;B&gt;num&lt;/B&gt;(&lt;B&gt;now&lt;/B&gt;()),0.0001),'.','')/5,'.',2))=0&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Apply the similar logic for the remaining 4 sheets. They wiill have a slightly differen show condition:&lt;/P&gt;&lt;P&gt;- 2nd sheet: =&lt;B&gt;subfield&lt;/B&gt;(&lt;B&gt;replace&lt;/B&gt;(&lt;B&gt;round&lt;/B&gt;(&lt;B&gt;num&lt;/B&gt;(&lt;B&gt;now&lt;/B&gt;()),0.0001),'.','')/5,'.',2)=2&lt;/P&gt;&lt;P&gt;- 3rd sheet: =&lt;B&gt;subfield&lt;/B&gt;(&lt;B&gt;replace&lt;/B&gt;(&lt;B&gt;round&lt;/B&gt;(&lt;B&gt;num&lt;/B&gt;(&lt;B&gt;now&lt;/B&gt;()),0.0001),'.','')/5,'.',2)=4&lt;/P&gt;&lt;P&gt;- 4th sheet: =&lt;B&gt;subfield&lt;/B&gt;(&lt;B&gt;replace&lt;/B&gt;(&lt;B&gt;round&lt;/B&gt;(&lt;B&gt;num&lt;/B&gt;(&lt;B&gt;now&lt;/B&gt;()),0.0001),'.','')/5,'.',2)=6&lt;/P&gt;&lt;P&gt;- 5th sheet: =&lt;B&gt;subfield&lt;/B&gt;(&lt;B&gt;replace&lt;/B&gt;(&lt;B&gt;round&lt;/B&gt;(&lt;B&gt;num&lt;/B&gt;(&lt;B&gt;now&lt;/B&gt;()),0.0001),'.','')/5,'.',2)=8&lt;/P&gt;&lt;P&gt;Document will be refreshed on the server as a normal QV document, depending on the document and qlikview server settings.&lt;/P&gt;&lt;P&gt;Qlikview is so flexible:)!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 12:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189786#M52538</guid>
      <dc:creator />
      <dc:date>2010-03-23T12:15:02Z</dc:date>
    </item>
    <item>
      <title>Timers with VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189787#M52539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the explanation...will give it a whirl...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 12:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/189787#M52539</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2010-03-23T12:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Timers with VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/1550920#M440263</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can you please assist I'm using the same model example but I need to switch between 2 tabs not 5. When I modify the model it stops working and doesn't switch.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 07:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timers-with-VBScript/m-p/1550920#M440263</guid>
      <dc:creator>nomvulam</dc:creator>
      <dc:date>2019-03-01T07:09:29Z</dc:date>
    </item>
  </channel>
</rss>

