<?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 Auto selection on sheet open - First of Possible Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Auto-selection-on-sheet-open-First-of-Possible-Values/m-p/208967#M64124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the Sheet, set the OnActivate event to use a macro like this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub Selector&lt;BR /&gt; set fld = ActiveDocument.Fields("FIELD")&lt;BR /&gt; set val = fld.GetPossibleValues&lt;BR /&gt; fld.Select val.Item(0).Text&lt;BR /&gt;End Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I'm not sure if you can select the first possible using a trigger. You could probably create a variable that holds the first possible and then select using that. I'm back on 8.5, so I've been unable to use triggers for a while.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jan 2010 17:03:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-12T17:03:40Z</dc:date>
    <item>
      <title>Auto selection on sheet open - First of Possible Values</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-selection-on-sheet-open-First-of-Possible-Values/m-p/208966#M64123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can be defined that on a sheet activate event the first possible value of a specific field should be initially selected.&lt;/P&gt;&lt;P&gt;I was trying to go through the Sheet Settings - Triggers but didn't succeed.&lt;/P&gt;&lt;P&gt;Appreciate all the help you can give&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 16:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-selection-on-sheet-open-First-of-Possible-Values/m-p/208966#M64123</guid>
      <dc:creator />
      <dc:date>2010-01-12T16:15:00Z</dc:date>
    </item>
    <item>
      <title>Auto selection on sheet open - First of Possible Values</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-selection-on-sheet-open-First-of-Possible-Values/m-p/208967#M64124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the Sheet, set the OnActivate event to use a macro like this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub Selector&lt;BR /&gt; set fld = ActiveDocument.Fields("FIELD")&lt;BR /&gt; set val = fld.GetPossibleValues&lt;BR /&gt; fld.Select val.Item(0).Text&lt;BR /&gt;End Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I'm not sure if you can select the first possible using a trigger. You could probably create a variable that holds the first possible and then select using that. I'm back on 8.5, so I've been unable to use triggers for a while.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 17:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-selection-on-sheet-open-First-of-Possible-Values/m-p/208967#M64124</guid>
      <dc:creator />
      <dc:date>2010-01-12T17:03:40Z</dc:date>
    </item>
    <item>
      <title>Auto selection on sheet open - First of Possible Values</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-selection-on-sheet-open-First-of-Possible-Values/m-p/208968#M64125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miller,&lt;/P&gt;&lt;P&gt;Thank you for you promptly help.&lt;/P&gt;&lt;P&gt;The solution fits perfectly and the issue is solved.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 23:44:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-selection-on-sheet-open-First-of-Possible-Values/m-p/208968#M64125</guid>
      <dc:creator />
      <dc:date>2010-01-12T23:44:26Z</dc:date>
    </item>
    <item>
      <title>Auto selection on sheet open - First of Possible Values</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-selection-on-sheet-open-First-of-Possible-Values/m-p/208969#M64126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miller!&lt;/P&gt;&lt;P&gt;Hope you can give me some solution for me here.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/24345.aspx" target="_blank"&gt;http://community.qlik.com/forums/t/24345.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 11:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-selection-on-sheet-open-First-of-Possible-Values/m-p/208969#M64126</guid>
      <dc:creator />
      <dc:date>2010-01-13T11:45:07Z</dc:date>
    </item>
  </channel>
</rss>

