<?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 Re: Sheet Event Trigger in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325150#M119791</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 instead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13470098381981320" jivemacro_uid="_13470098381981320"&gt;&lt;P&gt;=Max(Month) -1&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2012 09:24:29 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2012-09-07T09:24:29Z</dc:date>
    <item>
      <title>Sheet Event Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325141#M119782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you help me with the following selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to select only values for PL_No_ that start with '61'&lt;/P&gt;&lt;P&gt;For this I added an Action under Sheet Properties &amp;gt; Sheet Event Triggers &amp;gt; OnActiveSheet &amp;gt; Select in Field:&lt;/P&gt;&lt;P&gt;Field: PL_No_&lt;/P&gt;&lt;P&gt;Search String: =PL_No_ LIKE '61*'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is obviously not working; Can someone tell me what is wrong?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thxs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 10:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325141#M119782</guid>
      <dc:creator />
      <dc:date>2011-12-27T10:04:26Z</dc:date>
    </item>
    <item>
      <title>Sheet Event Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325142#M119783</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;Search String would just be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;61*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should work fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 10:12:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325142#M119783</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-12-27T10:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet Event Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325143#M119784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for the fast response, it indeed worked. Is it also possible to not allow users to clear this selection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 10:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325143#M119784</guid>
      <dc:creator />
      <dc:date>2011-12-27T10:14:14Z</dc:date>
    </item>
    <item>
      <title>Sheet Event Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325144#M119785</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;Yes, add a new action below this one: Action Type Selection, Lock Field, and the field you want to keep locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 10:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325144#M119785</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-12-27T10:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet Event Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325145#M119786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not exactly what I'm looking for, because I still want to be able to make 'subselections' between the different 61* results. Now I can only select all 61* and nothing else. I want to be able to select only 610 and not 611 or 612&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 10:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325145#M119786</guid>
      <dc:creator />
      <dc:date>2011-12-27T10:37:57Z</dc:date>
    </item>
    <item>
      <title>Sheet Event Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325146#M119787</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;That's not possible since locking a value in a field actually locks that value, you cannot do a "variable lock". But what you can do is to create a "parent" field in the script, creating a new field that keeps only the two first digits of that field, and do the lock on that field. Using the associative logic, once this parent field is locked, you will be able to select 610 or 611, but not 600 ot 607.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 10:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325146#M119787</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-12-27T10:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet Event Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325147#M119788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to do a simular solution but when I enter the sheet I would like to have the last year and the last month. I have a filed "year" and "month" and I've tried to use settings &amp;gt; sheet propertiies &amp;gt; OnActivateSheet &amp;gt; Add Action &amp;gt; Select in Field &amp;gt; Field =Year Search String =max(Year).&lt;/P&gt;&lt;P&gt;It doesn't work. Du you have a suggestion have to solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 07:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325147#M119788</guid>
      <dc:creator />
      <dc:date>2012-09-07T07:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet Event Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325148#M119789</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;Which version of QlikView are you running? Remove the "=" sign before the field name (Year). The search string should work fine (it's working fine here running versions 10 and 11).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 08:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325148#M119789</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-09-07T08:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet Event Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325149#M119790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using verion 10 and yes it's working now. But if I would like to have the latest year and the previous month, how to do? If I put two action, one for =max(year) and one for =max(month -1), it's only one of them that is working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 09:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325149#M119790</guid>
      <dc:creator />
      <dc:date>2012-09-07T09:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet Event Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325150#M119791</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 instead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13470098381981320" jivemacro_uid="_13470098381981320"&gt;&lt;P&gt;=Max(Month) -1&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 09:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325150#M119791</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-09-07T09:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet Event Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325151#M119792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how to use that I would like to have triggers on two fields? If I have the one with "year" and the otherone with previous "month" it's only one of the triggers that is working, the last one sorted in the Actions windows. See attached picture.&amp;nbsp;&amp;nbsp; &lt;IMG __jive_id="21493" class="jive-image-thumbnail jive-image" onclick="" alt="Actions.PNG" src="https://community.qlik.com/legacyfs/online/21493_Actions.PNG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 09:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Event-Trigger/m-p/325151#M119792</guid>
      <dc:creator />
      <dc:date>2012-09-07T09:55:23Z</dc:date>
    </item>
  </channel>
</rss>

