<?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: Problem with multiple triggers in button in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515695#M192569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heather,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/41644"&gt;http://community.qlik.com/thread/41644&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like discussed in that thread, I also believe that all the actions will act on the state as seen when trigger fired.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2013 21:35:54 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-10-04T21:35:54Z</dc:date>
    <item>
      <title>Problem with multiple triggers in button</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515694#M192568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a button that has multiple triggers. First, it does Select Possible on a given field, then it does Set Variable to GetFieldSelections([SameField], ',').&amp;nbsp; I put the contents of the variable in a text box for testing purposes.&amp;nbsp; The first time I hit the button (assuming the variable is empty initially), it does select the possible values for the field but the variable remains nothing.&amp;nbsp; However, if I hit the button again the variable shows up as expected.&amp;nbsp; Why is it not picking up the selected values in the first pass? Do changes from one trigger not register with the subsequent trigger? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clarify even further, lets say I have two list boxes, Name and ConcatenatedNameAndID.&amp;nbsp; I choose two names.&amp;nbsp; Hit the button and the related ConcatenatedNameAndID are chosen, however the variable does not change.&amp;nbsp; Now deselect one name and hit the button.&amp;nbsp; The variable is set to the the two names not just one.&amp;nbsp; So, it is sort of a step behind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample.&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 20:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515694#M192568</guid>
      <dc:creator />
      <dc:date>2013-10-04T20:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple triggers in button</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515695#M192569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heather,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/41644"&gt;http://community.qlik.com/thread/41644&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like discussed in that thread, I also believe that all the actions will act on the state as seen when trigger fired.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 21:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515695#M192569</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-04T21:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple triggers in button</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515696#M192570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Heather,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With multiple actions on a single click the state of some of things carried out on previous steps are not always as you expect on later steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the example you uploaded would it not give the desired result if you had the following in the expression for the set variable?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=NOW() &amp;amp; '&amp;nbsp; ' &amp;amp; Concat([Query String Concat], ',')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.quickintelligence.co.uk/"&gt;http://www.quickintelligence.co.uk/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 22:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515696#M192570</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2013-10-04T22:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple triggers in button</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515697#M192571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can do that, however, this was just an example.&amp;nbsp; After I wrote this I did what you suggested.&amp;nbsp; But now the button has two actions.&amp;nbsp; The first selects possible on a field, which should then change the value of that variable, and then Open URL with the URL from the variable.&amp;nbsp; It would seem that the actions do not recognize each other.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 00:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515697#M192571</guid>
      <dc:creator />
      <dc:date>2013-10-09T00:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple triggers in button</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515698#M192572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you not call the URL with the value that you are putting into the variable, rather than needing the variable to be set first?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you upload an example of it not working I could take a look for you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 04:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515698#M192572</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2013-10-09T04:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple triggers in button</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515699#M192573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's so nice of you.&amp;nbsp; But I think I have it figured out, just kept looking up different functions until something worked.&amp;nbsp; Instead of GetFieldSelections, I just used Concat(fieldname, ',').&amp;nbsp; I'm just disappointed the action chaining in the button and macros do not work in AJAX.&amp;nbsp; Again, thanks so much for the offer and the response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 15:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-triggers-in-button/m-p/515699#M192573</guid>
      <dc:creator />
      <dc:date>2013-10-09T15:22:21Z</dc:date>
    </item>
  </channel>
</rss>

