<?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 Field event trigger not working with getactivesheetID in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Field-event-trigger-not-working-with-getactivesheetID/m-p/300242#M111173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Variable Reference Sytanx =&amp;nbsp; IF(getSelectedCount(InvoiceDate)='1',$(vActiveSheetID),'SH02')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2012 00:48:02 GMT</pubDate>
    <dc:creator>disqr_rm</dc:creator>
    <dc:date>2012-01-24T00:48:02Z</dc:date>
    <item>
      <title>Field event trigger not working with getactivesheetID</title>
      <link>https://community.qlik.com/t5/QlikView/Field-event-trigger-not-working-with-getactivesheetID/m-p/300241#M111172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field on which I am trying to apply Active Sheet Trigger. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get currently active SheetID , i use the following syntax &lt;/P&gt;&lt;P&gt;vActiveSheetID=&amp;nbsp; chr(39)&amp;amp; right(getactivesheetid(),4)&amp;amp; chr(39) = 'SH01'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In field event trigger, I use the variable vActiveSheetID and it does not recognize the variable I have created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, when I hardcode the value 'SH01'. The trigger works just fine &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trigger Syntax: IF(getSelectedCount(InvoiceDate)='1','SH01','SH02') works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable Reference Sytanx =&amp;nbsp; IF(getSelectedCount(InvoiceDate)='1',vActiveSheetID,'SH02') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone direct me what I am not doing correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciate your time&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 00:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-event-trigger-not-working-with-getactivesheetID/m-p/300241#M111172</guid>
      <dc:creator />
      <dc:date>2012-01-24T00:19:12Z</dc:date>
    </item>
    <item>
      <title>Field event trigger not working with getactivesheetID</title>
      <link>https://community.qlik.com/t5/QlikView/Field-event-trigger-not-working-with-getactivesheetID/m-p/300242#M111173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Variable Reference Sytanx =&amp;nbsp; IF(getSelectedCount(InvoiceDate)='1',$(vActiveSheetID),'SH02')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 00:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-event-trigger-not-working-with-getactivesheetID/m-p/300242#M111173</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2012-01-24T00:48:02Z</dc:date>
    </item>
    <item>
      <title>Field event trigger not working with getactivesheetID</title>
      <link>https://community.qlik.com/t5/QlikView/Field-event-trigger-not-working-with-getactivesheetID/m-p/300243#M111174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did not help either &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 01:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-event-trigger-not-working-with-getactivesheetID/m-p/300243#M111174</guid>
      <dc:creator />
      <dc:date>2012-01-24T01:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Field event trigger not working with getactivesheetID</title>
      <link>https://community.qlik.com/t5/QlikView/Field-event-trigger-not-working-with-getactivesheetID/m-p/300244#M111175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post a sample qvw here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 01:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-event-trigger-not-working-with-getactivesheetID/m-p/300244#M111175</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2012-01-24T01:26:19Z</dc:date>
    </item>
    <item>
      <title>Field event trigger not working with getactivesheetID</title>
      <link>https://community.qlik.com/t5/QlikView/Field-event-trigger-not-working-with-getactivesheetID/m-p/300245#M111176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to loose the chr(39) in your variable. The variable itself will be a string, and therefor you do not need them in your expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-event-trigger-not-working-with-getactivesheetID/m-p/300245#M111176</guid>
      <dc:creator />
      <dc:date>2012-05-21T13:39:50Z</dc:date>
    </item>
  </channel>
</rss>

