<?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 2 actions on a button in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/2-actions-on-a-button/m-p/191138#M53338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make 2 differents actions when i clik on a button but i want theses actions to be executed in an order. For exemple, I want my Java application to be finished before the Reload Macro starts.&lt;/P&gt;&lt;P&gt;Now, these 2 actions are launched at the same time so the Java application operates some changes on the Database which are not Reloaded by the Reload Macro.&lt;/P&gt;&lt;P&gt;Here is the Reload Macro Script :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sub Reload&lt;BR /&gt;' Reload/refresh QVD from button on sheet&lt;BR /&gt;set varCurrentQvw = ActiveDocument&lt;BR /&gt;varCurrentQvw.Reload&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;I found a fonction 'sleep' which could be helpful but i didn't find the way to use it. I tried this but it didn't work :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sub Reload&lt;BR /&gt;sleep 5000&lt;BR /&gt;' Reload/refresh QVD from button on sheet&lt;BR /&gt;set varCurrentQvw = ActiveDocument&lt;BR /&gt;varCurrentQvw.Reload&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jun 2010 15:57:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-16T15:57:11Z</dc:date>
    <item>
      <title>2 actions on a button</title>
      <link>https://community.qlik.com/t5/QlikView/2-actions-on-a-button/m-p/191138#M53338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make 2 differents actions when i clik on a button but i want theses actions to be executed in an order. For exemple, I want my Java application to be finished before the Reload Macro starts.&lt;/P&gt;&lt;P&gt;Now, these 2 actions are launched at the same time so the Java application operates some changes on the Database which are not Reloaded by the Reload Macro.&lt;/P&gt;&lt;P&gt;Here is the Reload Macro Script :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sub Reload&lt;BR /&gt;' Reload/refresh QVD from button on sheet&lt;BR /&gt;set varCurrentQvw = ActiveDocument&lt;BR /&gt;varCurrentQvw.Reload&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;I found a fonction 'sleep' which could be helpful but i didn't find the way to use it. I tried this but it didn't work :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sub Reload&lt;BR /&gt;sleep 5000&lt;BR /&gt;' Reload/refresh QVD from button on sheet&lt;BR /&gt;set varCurrentQvw = ActiveDocument&lt;BR /&gt;varCurrentQvw.Reload&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 15:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-actions-on-a-button/m-p/191138#M53338</guid>
      <dc:creator />
      <dc:date>2010-06-16T15:57:11Z</dc:date>
    </item>
    <item>
      <title>2 actions on a button</title>
      <link>https://community.qlik.com/t5/QlikView/2-actions-on-a-button/m-p/191139#M53339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a solution to my problem. If it can help someone, here is the solution :&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;ActiveDocument.GetApplication.Sleep 2000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Macro waits 2sec before executing so the Java application can finish its action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 09:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-actions-on-a-button/m-p/191139#M53339</guid>
      <dc:creator />
      <dc:date>2010-06-17T09:18:32Z</dc:date>
    </item>
    <item>
      <title>2 actions on a button</title>
      <link>https://community.qlik.com/t5/QlikView/2-actions-on-a-button/m-p/191140#M53340</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 want to use your macro in my module but i want to make the button in my QVW and when the user click the button the related QVD will and run and after that the QVW , can you help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 13:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-actions-on-a-button/m-p/191140#M53340</guid>
      <dc:creator />
      <dc:date>2011-03-28T13:24:56Z</dc:date>
    </item>
  </channel>
</rss>

