<?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 One Value Always Selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/One-Value-Always-Selected/m-p/147487#M505378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;BR /&gt;Before applying this property, you must select one value. Any value, but only one. Here is how it may look like&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub&lt;BR /&gt; Set fld = ActiveDocument.GetField("CP1_EndDate") fld.Select &amp;lt;a specific value here&amp;gt;&lt;BR /&gt; Set prop = fld.GetProperties&lt;BR /&gt; prop.OneAndOnlyOne=True&lt;BR /&gt; fld.SetProperties prop&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2009 03:40:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-06-23T03:40:37Z</dc:date>
    <item>
      <title>One Value Always Selected</title>
      <link>https://community.qlik.com/t5/QlikView/One-Value-Always-Selected/m-p/147486#M505377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to set the One Value Always Selected property on a field via a macro using the following:&lt;/P&gt;&lt;P&gt;set fieldDesc = ActiveDocument.Fields("CP1_EndDate").GetDescription&lt;BR /&gt;fieldDesc.AlwaysOneSelected = TRUE&lt;/P&gt;&lt;P&gt;It is not working and I'm not sure why. The API Doc says this property is read/write.&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2009 01:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Value-Always-Selected/m-p/147486#M505377</guid>
      <dc:creator>markmccoid</dc:creator>
      <dc:date>2009-06-23T01:40:23Z</dc:date>
    </item>
    <item>
      <title>One Value Always Selected</title>
      <link>https://community.qlik.com/t5/QlikView/One-Value-Always-Selected/m-p/147487#M505378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;BR /&gt;Before applying this property, you must select one value. Any value, but only one. Here is how it may look like&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub&lt;BR /&gt; Set fld = ActiveDocument.GetField("CP1_EndDate") fld.Select &amp;lt;a specific value here&amp;gt;&lt;BR /&gt; Set prop = fld.GetProperties&lt;BR /&gt; prop.OneAndOnlyOne=True&lt;BR /&gt; fld.SetProperties prop&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2009 03:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Value-Always-Selected/m-p/147487#M505378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-23T03:40:37Z</dc:date>
    </item>
  </channel>
</rss>

