<?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: List box default value selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719383#M258399</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;Go to Document Properties - In Triggers Tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under document Event Triggers :Select 'On open' Option and Click on Add Action button&lt;/P&gt;&lt;P&gt;In the Add window Click on Add and 'Select in Field' option&lt;/P&gt;&lt;P&gt;Enter the Field name and values to be selected by default when the document is opened.&lt;/P&gt;&lt;P&gt;For ex :&lt;/P&gt;&lt;P&gt;Fieldname:field1&lt;/P&gt;&lt;P&gt;Value : ='A'&lt;/P&gt;&lt;P&gt;Fieldname:field1&lt;/P&gt;&lt;P&gt;Value : ='B'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:only one value can be set at a time.If u want to values to be selected, then u should add 'Select in field' option twice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2014 12:50:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-20T12:50:19Z</dc:date>
    <item>
      <title>List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719378#M258394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; i am having the following values in the list box&lt;/P&gt;&lt;P&gt;current forcast&lt;/P&gt;&lt;P&gt;current open orders&lt;/P&gt;&lt;P&gt;current plan&lt;/P&gt;&lt;P&gt;current sales&lt;/P&gt;&lt;P&gt;prior year forecast&lt;/P&gt;&lt;P&gt;prior year plan&lt;/P&gt;&lt;P&gt;prior year sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However i need to select the following values as default&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current forecast&lt;/P&gt;&lt;P&gt;current open orders&lt;/P&gt;&lt;P&gt;current plan&lt;/P&gt;&lt;P&gt;current sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried with the set field at the open document like the following syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= '(' &amp;amp; 'Current Forecast' &amp;amp; ',' &amp;amp; 'Current Plan' &amp;amp;&amp;nbsp;&amp;nbsp; ',' &amp;amp; 'Current Sales' &amp;amp; ')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;= '(' &amp;amp; 'Current Forecast' &amp;amp; 'I' &amp;amp; 'Current Plan' &amp;amp;&amp;nbsp; '|' &amp;amp; 'Current Plan' &amp;amp; ')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to set these values as default with our vbscript or java script... can any one help me out on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 10:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719378#M258394</guid>
      <dc:creator />
      <dc:date>2014-06-20T10:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719379#M258395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of macro use &lt;STRONG&gt;trigger&lt;/STRONG&gt; . Set triggger on 'OnOpen' event of document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 10:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719379#M258395</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-20T10:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719380#M258396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This syntax is not working. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 11:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719380#M258396</guid>
      <dc:creator />
      <dc:date>2014-06-20T11:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719381#M258397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Srinivasan R wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This syntax is not working.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;??&lt;/P&gt;&lt;P&gt;Your second expression in the &lt;STRONG&gt;search string&lt;/STRONG&gt; should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 11:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719381#M258397</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-20T11:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719382#M258398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;- create variable either in script or on front end to store a vale yes or no&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Your field name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'[current forecast]','[current open orders]','[current plan]','[current sales]'),Yes,No&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) as VariableYesNo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;- set a trigger to select the default value yes which set the values that you are after in the list box&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks and regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Padma&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 12:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719382#M258398</guid>
      <dc:creator />
      <dc:date>2014-06-20T12:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719383#M258399</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;Go to Document Properties - In Triggers Tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under document Event Triggers :Select 'On open' Option and Click on Add Action button&lt;/P&gt;&lt;P&gt;In the Add window Click on Add and 'Select in Field' option&lt;/P&gt;&lt;P&gt;Enter the Field name and values to be selected by default when the document is opened.&lt;/P&gt;&lt;P&gt;For ex :&lt;/P&gt;&lt;P&gt;Fieldname:field1&lt;/P&gt;&lt;P&gt;Value : ='A'&lt;/P&gt;&lt;P&gt;Fieldname:field1&lt;/P&gt;&lt;P&gt;Value : ='B'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:only one value can be set at a time.If u want to values to be selected, then u should add 'Select in field' option twice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 12:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719383#M258399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-20T12:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719384#M258400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not working, last only will set and more over we have space&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719384#M258400</guid>
      <dc:creator />
      <dc:date>2014-06-20T13:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719385#M258401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719385#M258401</guid>
      <dc:creator />
      <dc:date>2014-06-20T13:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719386#M258402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;both are not working because of space,,,, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719386#M258402</guid>
      <dc:creator />
      <dc:date>2014-06-20T13:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719387#M258403</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;Can you post a sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719387#M258403</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-06-20T13:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719388#M258404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Try with this , It is working fine&lt;/P&gt;&lt;P&gt;Fieldname:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1&lt;/P&gt;&lt;P&gt;Value :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ='(A|B|C)'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719388#M258404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-20T13:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719389#M258405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;double quotes are needed for strings with spaces (QV v10+) ...try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= '("Current Forecast" | "Current Plan" | "Current Sales")'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719389#M258405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-20T13:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719390#M258406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Double quotes are required only if the string is of two word, else if it is a single word then it is not necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Ex&lt;/P&gt;&lt;P&gt;Fieldname:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1&lt;/P&gt;&lt;P&gt;Value :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ='(France|"United States"|Chile)'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 14:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719390#M258406</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-20T14:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: List box default value selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719391#M258407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is exactly what i said - double quotes are needed for "strings with spaces". this only works on QV v10+...and doesn't work on previous versions of QV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 14:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-default-value-selection/m-p/719391#M258407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-20T14:51:37Z</dc:date>
    </item>
  </channel>
</rss>

