<?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: Dynamic update using multiple selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-update-using-multiple-selections/m-p/1140684#M373824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow the &lt;SPAN style="font-size: 13.3333px;"&gt;steps &lt;/SPAN&gt;below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Variable Name: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;VUpdate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Definition:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=If(Getfieldselections(DisplayName)&amp;gt;0,Concat('Update Users SET Type_account=' &amp;amp; chr(39) &amp;amp; 'Persoonsgebonden' &amp;amp; chr(39) &amp;amp; ' Where DisplayName=' &amp;amp; chr(39) &amp;amp; DisplayName &amp;amp; chr(39) , ';' &amp;amp; chr(13)) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;Button statement (Dynamic Update):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;VUpdate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Let me know.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jun 2016 16:27:11 GMT</pubDate>
    <dc:creator>tamilarasu</dc:creator>
    <dc:date>2016-06-29T16:27:11Z</dc:date>
    <item>
      <title>Dynamic update using multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-update-using-multiple-selections/m-p/1140683#M373823</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 would like to use the dynamic update function based on multiple selections. I have it working for 1 selection, but when I select 2 values the update function will not work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how I have done it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I first created a variable. By clicking on a button, the variable (vPersoonsgebonden) will be set by the statement =GetFieldSelections(DisplayName). This is working correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, I created a button that will execute the update statement: &lt;/P&gt;&lt;P&gt;UPDATE Users SET Type_account = 'Persoonsgebonden' WHERE DisplayName='$(=vPersoonsgebonden)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, whenever selecting one value, the update function is executed correctly. Whenever selecting more than one value, the function is not executed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 11:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-update-using-multiple-selections/m-p/1140683#M373823</guid>
      <dc:creator />
      <dc:date>2016-06-29T11:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic update using multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-update-using-multiple-selections/m-p/1140684#M373824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow the &lt;SPAN style="font-size: 13.3333px;"&gt;steps &lt;/SPAN&gt;below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Variable Name: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;VUpdate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Definition:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=If(Getfieldselections(DisplayName)&amp;gt;0,Concat('Update Users SET Type_account=' &amp;amp; chr(39) &amp;amp; 'Persoonsgebonden' &amp;amp; chr(39) &amp;amp; ' Where DisplayName=' &amp;amp; chr(39) &amp;amp; DisplayName &amp;amp; chr(39) , ';' &amp;amp; chr(13)) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;Button statement (Dynamic Update):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;VUpdate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Let me know.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 16:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-update-using-multiple-selections/m-p/1140684#M373824</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-06-29T16:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic update using multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-update-using-multiple-selections/m-p/1140685#M373825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works like a charm! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 13:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-update-using-multiple-selections/m-p/1140685#M373825</guid>
      <dc:creator />
      <dc:date>2016-06-30T13:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic update using multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-update-using-multiple-selections/m-p/1140686#M373826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Glad to hear from you.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Thanks &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/settu_periasamy"&gt;settu_periasamy&lt;/A&gt; . &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;If your question has been answered, I suggest marking my reply as correct to close the thread.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3778c7; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Have a nice day.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;SPAN class="emoticon-inline emoticon_happy" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 16:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-update-using-multiple-selections/m-p/1140686#M373826</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-06-30T16:20:40Z</dc:date>
    </item>
  </channel>
</rss>

