<?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: Button Actions - Sequential Firing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Button-Actions-Sequential-Firing/m-p/426483#M566886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you thought about using a macro to handle the reload portion?&amp;nbsp; For example, your button would load the document as it already does, then as a second action, run the macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sub Load()&lt;BR /&gt;&lt;BR /&gt;x=MsgBox("Click Ok to initiate reload",1,"Reload Document")&lt;BR /&gt;&lt;BR /&gt;if x=1 Then&lt;BR /&gt;ActiveDocument.Reload&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Else&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;End Sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the user saves his or her changes and clicks 'Ok', the document will reload.&amp;nbsp; If the user clicks 'Cancel' the reload will not occur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2012 21:41:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-12T21:41:18Z</dc:date>
    <item>
      <title>Button Actions - Sequential Firing</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Actions-Sequential-Firing/m-p/426482#M566885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I set up two actions on a button, is there a way I can stop the second action from firing until the first action is complete?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario I am working with is I have the first action actually opening a URL which will open an Excel file which is loaded into my QV app.&amp;nbsp; I then have a second action which inititates a re-load.&amp;nbsp; What I want to be able to do is add records to the Excel file, which will then be reloaded in the reload.&amp;nbsp; It appears when I do this the reload fires immediately and does not wait until I have added records to, saved, and closed the Excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 20:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Actions-Sequential-Firing/m-p/426482#M566885</guid>
      <dc:creator />
      <dc:date>2012-11-12T20:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Button Actions - Sequential Firing</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Actions-Sequential-Firing/m-p/426483#M566886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you thought about using a macro to handle the reload portion?&amp;nbsp; For example, your button would load the document as it already does, then as a second action, run the macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sub Load()&lt;BR /&gt;&lt;BR /&gt;x=MsgBox("Click Ok to initiate reload",1,"Reload Document")&lt;BR /&gt;&lt;BR /&gt;if x=1 Then&lt;BR /&gt;ActiveDocument.Reload&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Else&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;End Sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the user saves his or her changes and clicks 'Ok', the document will reload.&amp;nbsp; If the user clicks 'Cancel' the reload will not occur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 21:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Actions-Sequential-Firing/m-p/426483#M566886</guid>
      <dc:creator />
      <dc:date>2012-11-12T21:41:18Z</dc:date>
    </item>
  </channel>
</rss>

