<?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 Getting different count on Field and list box possible values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-different-count-on-Field-and-list-box-possible-values/m-p/150714#M28690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Get possible values has a default limit of 100 values. Look at the parameters in the API guide. You can set it to another level if you need to pull more values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2009 19:48:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-07-30T19:48:50Z</dc:date>
    <item>
      <title>Getting different count on Field and list box possible values</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-different-count-on-Field-and-list-box-possible-values/m-p/150713#M28689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Hope someone else has come accross this and can point out my misconception.&lt;/P&gt;&lt;P&gt;The code below gives me 100 and then 197. The Stat box for that field shows 198 as the count, which ties up with 197 as I believe the ubound starts at 0. But why does the field GetPossibleValues count only return 100??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;sub getcount&lt;BR /&gt;set x = ActiveDocument.Fields("CAT_PartNo").GetPossibleValues&lt;BR /&gt;msgbox x.Count&lt;BR /&gt;set LB = ActiveDocument.GetSheetObject("LB02") 'Contains CAT_PartNo&lt;BR /&gt;msgbox (ubound(boxvalues))&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Jane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 18:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-different-count-on-Field-and-list-box-possible-values/m-p/150713#M28689</guid>
      <dc:creator />
      <dc:date>2009-07-30T18:38:57Z</dc:date>
    </item>
    <item>
      <title>Getting different count on Field and list box possible values</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-different-count-on-Field-and-list-box-possible-values/m-p/150714#M28690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Get possible values has a default limit of 100 values. Look at the parameters in the API guide. You can set it to another level if you need to pull more values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 19:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-different-count-on-Field-and-list-box-possible-values/m-p/150714#M28690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-30T19:48:50Z</dc:date>
    </item>
    <item>
      <title>Getting different count on Field and list box possible values</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-different-count-on-Field-and-list-box-possible-values/m-p/150715#M28691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks for that, I know you will think this is a stupid question but how do I return the count of the possible selections into a variable?&lt;/P&gt;&lt;P&gt;Having a complete mental block here.&lt;/P&gt;&lt;P&gt;TIA Jane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 20:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-different-count-on-Field-and-list-box-possible-values/m-p/150715#M28691</guid>
      <dc:creator />
      <dc:date>2009-07-30T20:21:29Z</dc:date>
    </item>
    <item>
      <title>Getting different count on Field and list box possible values</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-different-count-on-Field-and-list-box-possible-values/m-p/150716#M28692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found it!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;set fld=ActiveDocument.GetField("CAT_PartNo")&lt;BR /&gt;msgbox ("The field has "&amp;amp; fld.GetValueCount(1) &amp;amp;" selected values")&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 20:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-different-count-on-Field-and-list-box-possible-values/m-p/150716#M28692</guid>
      <dc:creator />
      <dc:date>2009-07-30T20:29:44Z</dc:date>
    </item>
  </channel>
</rss>

