<?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 action is not working? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Button-action-is-not-working/m-p/309246#M114179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For your refernce i'm attaching my sample qvw file... &lt;/P&gt;&lt;P&gt;Please go through the enclosed file so that you can get better understanding on the above task.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2011 08:45:59 GMT</pubDate>
    <dc:creator>jagannalla</dc:creator>
    <dc:date>2011-08-30T08:45:59Z</dc:date>
    <item>
      <title>Button action is not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Button-action-is-not-working/m-p/309245#M114178</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've a list box with field &lt;STRONG&gt;Status &lt;/STRONG&gt;and the data of this field is Bad,Good(code=693).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Bad&lt;/LI&gt;&lt;LI&gt;Good(code=693)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;- In edit script i've a table with different number of fields. Some of them are ID,A,B,C.&lt;/P&gt;&lt;P&gt;- I'm loading the tables as show in below code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load ID,A,B,C,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(If(A&amp;lt;&amp;gt; 693, A)) &amp;gt; 0, A) AS A1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from Table.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SecondTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bad &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code(code=693)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; I've taken &lt;STRONG&gt;A1 &lt;/STRONG&gt;filed in another listbox and the listbox contains the data like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1&lt;/LI&gt;&lt;LI&gt;2&lt;/LI&gt;&lt;LI&gt;5&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;- I had taken a varaible &lt;STRONG&gt;vData &lt;/STRONG&gt;and i can able to store the selected values of both listbox in this variable. If i select &lt;STRONG&gt;Good &lt;/STRONG&gt;in the first listbox and &lt;STRONG&gt;2 &lt;/STRONG&gt;in the second listbox. The value of the variable is like this &lt;STRONG&gt;(693|2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- In button&amp;nbsp; i had taken a &lt;STRONG&gt;SelectedField&lt;/STRONG&gt; action(i.e &lt;STRONG&gt;A&lt;/STRONG&gt;) and given the &lt;STRONG&gt;SearchString &lt;/STRONG&gt;as &lt;STRONG&gt;VData&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Now i had taken a tablebox with ID,A,B,C. When i click the button it should show the column &lt;STRONG&gt;A with 693,2 only but it shows only 2. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I tried to solve this problem at last i find the bug why it is happening. The think is the listbox with field A1 as the relation ship with all contents. So, when i select &lt;STRONG&gt;2&lt;/STRONG&gt; in the listbox in backend the tablebox renders the data with selection &lt;STRONG&gt;2&lt;/STRONG&gt; only. So, after selection when we click the button it is not applying whatever the action we written here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I don't know why it is not applying the last action. Can anyone help me to overcome this.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 08:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-action-is-not-working/m-p/309245#M114178</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-08-30T08:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Button action is not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Button-action-is-not-working/m-p/309246#M114179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For your refernce i'm attaching my sample qvw file... &lt;/P&gt;&lt;P&gt;Please go through the enclosed file so that you can get better understanding on the above task.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 08:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-action-is-not-working/m-p/309246#M114179</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-08-30T08:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Button action is not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Button-action-is-not-working/m-p/309247#M114180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot do exclusive selections in a tablebox. Hence when A1 has value "1" it cannot make field A select value "693", because they are exclusive. I'd rather create a logic island (a table unlinked to the rest of the datamodel) with the possible values for each field A and A1, and use them in the button on one field. The issue now is that A1 has exclusive values to A and viceversa, so you either select them in A1 or in A, but not in both at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;﻿﻿&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 09:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-action-is-not-working/m-p/309247#M114180</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-30T09:29:10Z</dc:date>
    </item>
  </channel>
</rss>

