<?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 Populate drop down input box with DB field values? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951542#M327256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to set up a drop down input box on a report for a customer to select an available sales date from the database where I want the value of each available date in the database to appear in the drop down selector as one per row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the constraints tab I have the following setup:&lt;/P&gt;&lt;P&gt;Input Constraints = Predefined Values Only -- nothing else is selected or checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Value List = Predefined Values in Drop-down &lt;SPAN style="font-size: 13.3333px;"&gt;-- nothing else is selected or checked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Predefined Values has the listed box checked with the following formula (&lt;SPAN style="font-size: 13.3333px;"&gt;-- nothing else is selected or checked)&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;=Concat( {1} DISTINCT SALES_DATE, chr(10) &amp;amp; chr(13) , SALES_DATE )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't work and wants to give a linear list of the SALES_DATE field. I want the list to place one date per line of the drop down input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Sep 2015 16:32:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-09-28T16:32:45Z</dc:date>
    <item>
      <title>Populate drop down input box with DB field values?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951542#M327256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to set up a drop down input box on a report for a customer to select an available sales date from the database where I want the value of each available date in the database to appear in the drop down selector as one per row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the constraints tab I have the following setup:&lt;/P&gt;&lt;P&gt;Input Constraints = Predefined Values Only -- nothing else is selected or checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Value List = Predefined Values in Drop-down &lt;SPAN style="font-size: 13.3333px;"&gt;-- nothing else is selected or checked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Predefined Values has the listed box checked with the following formula (&lt;SPAN style="font-size: 13.3333px;"&gt;-- nothing else is selected or checked)&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;=Concat( {1} DISTINCT SALES_DATE, chr(10) &amp;amp; chr(13) , SALES_DATE )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't work and wants to give a linear list of the SALES_DATE field. I want the list to place one date per line of the drop down input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 16:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951542#M327256</guid>
      <dc:creator />
      <dc:date>2015-09-28T16:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Populate drop down input box with DB field values?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951543#M327257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use list box of required date field to have desired drop down of date since your purpose is to select date from drop down, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 16:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951543#M327257</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-09-28T16:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Populate drop down input box with DB field values?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951544#M327258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking to set a start-sale-date and end-sale-date variables that would be used to show only the data between the date range. I want the SALE_DATE from the DB to populate the drop down of the input box field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 16:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951544#M327258</guid>
      <dc:creator />
      <dc:date>2015-09-28T16:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Populate drop down input box with DB field values?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951545#M327259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use the semicolon as separator - QlikView will put all the values on separate lines for you in the drop-down. So replace the Chr(10) &amp;amp; Chr(13) with ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 19:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951545#M327259</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-09-28T19:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Populate drop down input box with DB field values?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951546#M327260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that and it ran all of the dates together on one line with them being separated by a semicolon when using: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Concat( {1} DISTINCT SALES_DATE, ';' , SALES_DATE )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 19:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951546#M327260</guid>
      <dc:creator />
      <dc:date>2015-09-28T19:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Populate drop down input box with DB field values?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951547#M327261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is an oddity with QlikView for some users that semicolon will not work for this drop-down. They seem to have to use comma instead. Could you please try that to see if it works for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 19:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951547#M327261</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-09-28T19:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Populate drop down input box with DB field values?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951548#M327262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked! Thank you for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 19:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951548#M327262</guid>
      <dc:creator />
      <dc:date>2015-09-28T19:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Populate drop down input box with DB field values?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951549#M327263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know how to get it to stop sorting the data when I use it for a 'Month &amp;amp; Year' string in the same formula?&amp;nbsp; =Concat( {1} DISTINCT (Month(THE_DATE) &amp;amp; ' ' &amp;amp; Year(THE_DATE) ), ',' , (Month(THE_DATE) &amp;amp; ' ' &amp;amp; Year(THE_DATE) ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 19:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951549#M327263</guid>
      <dc:creator />
      <dc:date>2015-09-28T19:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Populate drop down input box with DB field values?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951550#M327264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The last parameter is how QlikView's Concatenate()-function should sort the data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ( Month(THE_DATE) &amp;amp; ' ' &amp;amp; Year(THE_DATE) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't seem like that is how you want to sort it - does it? I would guess that THE_DATE alone or -THE_DATE (for descending dates) alone should be the sort order you want. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 20:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951550#M327264</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-09-28T20:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Populate drop down input box with DB field values?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951551#M327265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank-you! Using THE_DATE as the sort parameter worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 12:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951551#M327265</guid>
      <dc:creator />
      <dc:date>2015-09-29T12:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Populate drop down input box with DB field values?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951552#M327266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any reason you would know why the text box allows an initial selection of a date, but will not allow it to be changed afterwards?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 16:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-drop-down-input-box-with-DB-field-values/m-p/951552#M327266</guid>
      <dc:creator />
      <dc:date>2015-09-29T16:31:18Z</dc:date>
    </item>
  </channel>
</rss>

