<?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 Can we pass values dynamically from any selected listbox into the error message? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-we-pass-values-dynamically-from-any-selected-listbox-into/m-p/313534#M115729</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wonderring if its possible to pass value from &lt;STRONG&gt;any selected listbox&lt;/STRONG&gt; into the error message,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I'm able to pass values dynamically from date listbox into the error message using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #003300;"&gt;='Companydoes not have value for' &amp;amp; only(Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My requirement is the error message must be able to take values dynamically&amp;nbsp; from any listbox that is&amp;nbsp; selected&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets say I click on 2/2/2011&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The message should say &lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #ff0000;"&gt; &lt;STRONG&gt;Company does not have data for 2/2/20&lt;/STRONG&gt;11&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if i click on listbox containing &lt;STRONG&gt;country names.&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"" &lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Company does not have data for China&lt;/SPAN&gt;"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if i click on listbox containing&amp;nbsp; product names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;""&lt;STRONG style="color: #ff0000;"&gt; Company does not have data for product name&lt;/STRONG&gt; ".....so on ..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; want to pass values dynamically from any selected list box into the error message&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Swarup&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2011 13:30:42 GMT</pubDate>
    <dc:creator>swarup_malli</dc:creator>
    <dc:date>2011-08-31T13:30:42Z</dc:date>
    <item>
      <title>Can we pass values dynamically from any selected listbox into the error message?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-pass-values-dynamically-from-any-selected-listbox-into/m-p/313534#M115729</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wonderring if its possible to pass value from &lt;STRONG&gt;any selected listbox&lt;/STRONG&gt; into the error message,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I'm able to pass values dynamically from date listbox into the error message using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #003300;"&gt;='Companydoes not have value for' &amp;amp; only(Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My requirement is the error message must be able to take values dynamically&amp;nbsp; from any listbox that is&amp;nbsp; selected&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets say I click on 2/2/2011&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The message should say &lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #ff0000;"&gt; &lt;STRONG&gt;Company does not have data for 2/2/20&lt;/STRONG&gt;11&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if i click on listbox containing &lt;STRONG&gt;country names.&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"" &lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Company does not have data for China&lt;/SPAN&gt;"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if i click on listbox containing&amp;nbsp; product names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;""&lt;STRONG style="color: #ff0000;"&gt; Company does not have data for product name&lt;/STRONG&gt; ".....so on ..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; want to pass values dynamically from any selected list box into the error message&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Swarup&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 13:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-pass-values-dynamically-from-any-selected-listbox-into/m-p/313534#M115729</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2011-08-31T13:30:42Z</dc:date>
    </item>
    <item>
      <title>Can we pass values dynamically from any selected listbox into the error message?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-pass-values-dynamically-from-any-selected-listbox-into/m-p/313535#M115730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GetCurrentSelections() will give you a string with the current selections, also with fieldnames. You might format the string with optional delimiter and again parse it to get the details you want or just put in in your error message as is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 13:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-pass-values-dynamically-from-any-selected-listbox-into/m-p/313535#M115730</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-31T13:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can we pass values dynamically from any selected listbox into the error message?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-pass-values-dynamically-from-any-selected-listbox-into/m-p/313536#M115731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you format the string with delimiter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 13:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-pass-values-dynamically-from-any-selected-listbox-into/m-p/313536#M115731</guid>
      <dc:creator />
      <dc:date>2011-08-31T13:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we pass values dynamically from any selected listbox into the error message?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-pass-values-dynamically-from-any-selected-listbox-into/m-p/313537#M115732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the help file:&lt;/P&gt;&lt;H4&gt;getcurrentselections&lt;A name="kanchor283"&gt;&lt;/A&gt;&lt;A name="getcurrentselections"&gt;&lt;/A&gt; (&lt;SPAN style="font-style: italic;"&gt;[RecordSep [, TagSep [,ValueSep [, MaxValues]]]]&lt;/SPAN&gt; ) &lt;/H4&gt;&lt;P&gt;Returns a string with the current selections in the document. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;RecordSep&lt;/SPAN&gt; is the separator to be put between field records. The default is &amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;TagSep&lt;/SPAN&gt; is the separator to be put between the field name tag and the field values. The default is ': '. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;ValueSep&lt;/SPAN&gt; is the separator to be put between field values. The default is ', '. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;Maxvalues&lt;/SPAN&gt; is the maximum number of field values to be individually listed. When a larger number of values is selected the format 'x of y values' will be used instead. The default is 6.&lt;/P&gt;&lt;H2&gt;Examples&lt;/H2&gt;&lt;P style="font-weight: bold;"&gt;&lt;STRONG&gt;getcurrentselections ( ) &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;&lt;STRONG&gt;getcurrentselections ( chr(13)&amp;amp;chr(10) , ' = ' )&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;&lt;STRONG&gt;getcurrentselections ( chr(13)&amp;amp;chr(10) , ' : ' , ' ; ' )&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="Bold"&gt;getcurrentselections ( chr(13)&amp;amp;chr(10) , ' : ' , ' ; ' , 10 ) &lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might then use e.g. TextBetween/ subfield / subfieldcount etc to parse the string.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 13:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-pass-values-dynamically-from-any-selected-listbox-into/m-p/313537#M115732</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-31T13:56:31Z</dc:date>
    </item>
  </channel>
</rss>

