<?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 Using &amp;quot;Select in Field&amp;quot; to specify a different default value for each Sheet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-quot-Select-in-Field-quot-to-specify-a-different-default/m-p/231376#M83139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in 0in 0pt;"&gt;The 'OnOpen' event happens when the entire QVW is opened, it does not occur when moving from sheet to sheet.&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;In the properties of the sheet itself, you may add a trigger which can change this variable's value when you change sheets, the event is 'OnActivateSheet'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jul 2010 21:34:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-22T21:34:12Z</dc:date>
    <item>
      <title>Using "Select in Field" to specify a different default value for each Sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-Select-in-Field-quot-to-specify-a-different-default/m-p/231375#M83138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to assign a different default value for a particular field per sheet during initial open of my app.&lt;/P&gt;&lt;P&gt;Hence, I have created a Document Event Trigger "OnOpen" with the following actions&lt;/P&gt;&lt;P&gt;Select in Field&lt;/P&gt;&lt;P&gt;Field : [Include Reload]&lt;/P&gt;&lt;P&gt;Search String : =&lt;B&gt;if&lt;/B&gt;(&lt;B&gt;GetActiveSheetId&lt;/B&gt;()='Document\SH01','No',&lt;B&gt;if&lt;/B&gt;(&lt;B&gt;GetActiveSheetId&lt;/B&gt;()='Document\SH02','Yes'))&lt;/P&gt;&lt;P&gt;So whenever I open the app and go to sheet 1, the [Include Reload] will always be 'No' and when I go to sheet 2, the value is set to 'Yes'.&lt;/P&gt;&lt;P&gt;However, the code doesn't work. It always defaults to either Yes or No for both sheets.&lt;/P&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 21:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-Select-in-Field-quot-to-specify-a-different-default/m-p/231375#M83138</guid>
      <dc:creator />
      <dc:date>2010-07-22T21:01:22Z</dc:date>
    </item>
    <item>
      <title>Using "Select in Field" to specify a different default value for each Sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-Select-in-Field-quot-to-specify-a-different-default/m-p/231376#M83139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in 0in 0pt;"&gt;The 'OnOpen' event happens when the entire QVW is opened, it does not occur when moving from sheet to sheet.&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;In the properties of the sheet itself, you may add a trigger which can change this variable's value when you change sheets, the event is 'OnActivateSheet'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 21:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-Select-in-Field-quot-to-specify-a-different-default/m-p/231376#M83139</guid>
      <dc:creator />
      <dc:date>2010-07-22T21:34:12Z</dc:date>
    </item>
  </channel>
</rss>

