<?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 Object Event Triggers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Object-Event-Triggers/m-p/182911#M48358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Michael. That worked perfectly. I appeciate your speedy and efficacious advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2011 23:12:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-29T23:12:38Z</dc:date>
    <item>
      <title>Object Event Triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Object-Event-Triggers/m-p/182909#M48356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a variable to derive the correct date for Yesterday according to specific geography (Geo) in order to screen activity for the proper local date range. For example, if I'm in California but looking at activities being done in Singapore, it's already tomorrow there. So their Yesterday is today. My variable returns the correct Yesterday for the Geo being selected:&lt;/P&gt;&lt;P&gt;Geo_Yesterday=date(if(GetFieldSelections(Geo)='APAC',date(localtime('Singapore'))-1 ,&lt;BR /&gt;if(GetFieldSelections(Geo)='EMEA',date(localtime('Bern'))-1,&lt;BR /&gt;if(GetFieldSelections(Geo)='Americas',date(localtime('Pacific Time (US &amp;amp; Canada)'))-1,&lt;BR /&gt;if(isNull(GetFieldSelections(Geo)) Or GetFieldSelections(Geo)='*' ,date(localtime('GMT'))-1,)))))&lt;/P&gt;&lt;P&gt;I can get this to work if choose the Geo before I enter the Activity reporting tab and launch an &lt;EM&gt;OnActivate Sheet&lt;/EM&gt; trigger to &lt;EM&gt;Select in Field&lt;/EM&gt; Activity_date_local = Geo_Yesterday. My challenge is, to get this to work within the same tab if the Geo value choice is changed. I think this would require using an Object Id trigger, but it's not working as I'd expect. I set a similar trigger for the Geo List Box object to &lt;EM&gt;OnActivate&lt;/EM&gt; &lt;EM&gt;Select in Field&lt;/EM&gt; Activity_date_local = Geo_Yesterday. How do I get the change of a value in the Geo List Box to fire the change in selection of the right Yesterday test for Activity_date_local?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2011 00:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-Event-Triggers/m-p/182909#M48356</guid>
      <dc:creator />
      <dc:date>2011-03-26T00:36:38Z</dc:date>
    </item>
    <item>
      <title>Object Event Triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Object-Event-Triggers/m-p/182910#M48357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your problem description tells me that you need to add trigger on the field select/change (document properties - triggers) rather than on the object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2011 14:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-Event-Triggers/m-p/182910#M48357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-26T14:45:41Z</dc:date>
    </item>
    <item>
      <title>Object Event Triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Object-Event-Triggers/m-p/182911#M48358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Michael. That worked perfectly. I appeciate your speedy and efficacious advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 23:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-Event-Triggers/m-p/182911#M48358</guid>
      <dc:creator />
      <dc:date>2011-03-29T23:12:38Z</dc:date>
    </item>
  </channel>
</rss>

