<?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 Force selected values in list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998185#M977230</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;I have created a dimension "Source Type" :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SourceType:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _SourceType&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Numérisation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extranet/Optiform&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table named "Source" which contains the following values : &lt;/P&gt;&lt;P&gt;"COURRIER"&lt;/P&gt;&lt;P&gt;"EDI"&lt;/P&gt;&lt;P&gt;"EXTRANET"&lt;/P&gt;&lt;P&gt;"MAIL"&lt;/P&gt;&lt;P&gt;"OPTIFORM"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created two list box with both "Source Type" and "Source". &lt;/P&gt;&lt;P&gt;For example, when I select "Numérisation" in my Source Type list box, I want "COURRIER" and "MAIL" selected in my Source list box.&lt;/P&gt;&lt;P&gt;How do I do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2015 09:28:53 GMT</pubDate>
    <dc:creator>l_denivelle</dc:creator>
    <dc:date>2015-08-26T09:28:53Z</dc:date>
    <item>
      <title>Force selected values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998185#M977230</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;I have created a dimension "Source Type" :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SourceType:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _SourceType&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Numérisation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extranet/Optiform&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table named "Source" which contains the following values : &lt;/P&gt;&lt;P&gt;"COURRIER"&lt;/P&gt;&lt;P&gt;"EDI"&lt;/P&gt;&lt;P&gt;"EXTRANET"&lt;/P&gt;&lt;P&gt;"MAIL"&lt;/P&gt;&lt;P&gt;"OPTIFORM"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created two list box with both "Source Type" and "Source". &lt;/P&gt;&lt;P&gt;For example, when I select "Numérisation" in my Source Type list box, I want "COURRIER" and "MAIL" selected in my Source list box.&lt;/P&gt;&lt;P&gt;How do I do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 09:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998185#M977230</guid>
      <dc:creator>l_denivelle</dc:creator>
      <dc:date>2015-08-26T09:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Force selected values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998186#M977231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like attached sample. Check the :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;table association&lt;/LI&gt;&lt;LI&gt;trigger&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 09:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998186#M977231</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-08-26T09:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Force selected values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998187#M977232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes seems the right solution !&lt;/P&gt;&lt;P&gt;I'm going to try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 09:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998187#M977232</guid>
      <dc:creator>l_denivelle</dc:creator>
      <dc:date>2015-08-26T09:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Force selected values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998188#M977233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of trying to force a selection, you could also link the two tables in the load script on the field source, letting the datamodel make the association. Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SourceType:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * Inline [&lt;SPAN style="line-height: 1.5em;"&gt;_SourceType, Source&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Numérisation,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;COURRIER&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Numérisation,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MAIL&lt;/SPAN&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extranet/Optiform,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EXTRANET&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;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extranet/Optiform,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OPTIFORM&lt;/SPAN&gt;&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;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;When you want to do this in the front end, you can use a trigger on the field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;_SourceType. Settings\Document properties\Triggers\ and then FieldEvent trigger for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;_SourceType On Select Add Action Add Select in Field for Field Source with an expression for value like&lt;/SPAN&gt;&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;=if(_SourceType='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Numérisation&lt;/SPAN&gt;','(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;COURRIER|&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MAIL&lt;/SPAN&gt;)&lt;/SPAN&gt;')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 09:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998188#M977233</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-08-26T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Force selected values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998189#M977234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;I will try that too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 09:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998189#M977234</guid>
      <dc:creator>l_denivelle</dc:creator>
      <dc:date>2015-08-26T09:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Force selected values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998190#M977235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to apply my selection from Source Type list box to one page only and not all my application ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 10:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998190#M977235</guid>
      <dc:creator>l_denivelle</dc:creator>
      <dc:date>2015-08-26T10:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Force selected values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998191#M977236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can place the listbox in an alternate state. Settings\Document properties\General\Alternate states and then add and give it a name. In the listbox you can set this to this alternate state. In the trigger you can also specify this alternate state&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 11:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-selected-values-in-list-box/m-p/998191#M977236</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-08-26T11:12:17Z</dc:date>
    </item>
  </channel>
</rss>

