<?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: Clear All On Open Trigger Bug? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313306#M407964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wallo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually already have a single field that I can use to get the max date. But the reason I want to do one separately for year and another for month is to bring attention to the listboxes via the the green highlight color. Otherwise, they are only colored white if indirectly selected. Please have a look at my app above if you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jul 2017 20:09:23 GMT</pubDate>
    <dc:creator>alexandergrando</dc:creator>
    <dc:date>2017-07-14T20:09:23Z</dc:date>
    <item>
      <title>Clear All On Open Trigger Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313300#M407958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to have my document automatically select the max calendar year on open. I am trying to use document triggers to accomplish this. My first trigger is a Clear All. The next trigger is: =max(CalendarYear). Please see screenshot below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG __jive_id="170297" alt="Screenshot.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/170297_Screenshot.PNG" style="width: 620px; height: 429px;" /&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;The problem is that I only get the correct max year if no year was selected in the prior save. Otherwise, the year will show up as the one last saved despite the Clear All trigger and the Select in Field trigger.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Can anyone please help? Is this a bug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Alexander Grando&#xD;
Reason: Attached sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 18:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313300#M407958</guid>
      <dc:creator>alexandergrando</dc:creator>
      <dc:date>2017-07-14T18:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Clear All On Open Trigger Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313301#M407959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=max( {1} CalendarYear)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 18:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313301#M407959</guid>
      <dc:creator>juan_patrick</dc:creator>
      <dc:date>2017-07-14T18:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Clear All On Open Trigger Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313302#M407960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. Your expression works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need to select the max MonthName in addition to the year. I tried including an additional Select in Field trigger with an alteration of your expression, but it didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you suppose you can help me out with this also? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 18:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313302#M407960</guid>
      <dc:creator>alexandergrando</dc:creator>
      <dc:date>2017-07-14T18:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Clear All On Open Trigger Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313303#M407961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a Flag in script for max year &amp;amp; month, and in the trigger you use only this field (the flag).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=max( {1&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CalendarYear&lt;/SPAN&gt;={"&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(=max({1}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CalendarYear&lt;/SPAN&gt;))"} &amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;monthnamefield )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 18:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313303#M407961</guid>
      <dc:creator>juan_patrick</dc:creator>
      <dc:date>2017-07-14T18:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Clear All On Open Trigger Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313304#M407962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible I would create a field in my data model that is a date for the first of the month.&amp;nbsp; Then all you have to do is 1 trigger like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=max({1} MonthDate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 19:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313304#M407962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-14T19:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Clear All On Open Trigger Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313305#M407963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Juan,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I tried your new expression, but was unable to get it to work. I am attaching a sample app. Can you please show me how to set up the flag field? I am also OK with any other method to get this to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 20:06:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313305#M407963</guid>
      <dc:creator>alexandergrando</dc:creator>
      <dc:date>2017-07-14T20:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Clear All On Open Trigger Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313306#M407964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wallo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually already have a single field that I can use to get the max date. But the reason I want to do one separately for year and another for month is to bring attention to the listboxes via the the green highlight color. Otherwise, they are only colored white if indirectly selected. Please have a look at my app above if you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 20:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313306#M407964</guid>
      <dc:creator>alexandergrando</dc:creator>
      <dc:date>2017-07-14T20:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Clear All On Open Trigger Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313307#M407965</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;I just want to bump this thread because it has been several days since I've received a reply and my question remains unanswered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 17:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313307#M407965</guid>
      <dc:creator>alexandergrando</dc:creator>
      <dc:date>2017-07-17T17:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Clear All On Open Trigger Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313308#M407966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Second action on CalendarMonthName for Select in Field.&lt;/P&gt;&lt;P&gt;=Month(MakeDate(max({1}CalendarYear), max({1&amp;lt;CalendarYear={'$(=max({1}CalendarYear))'}&amp;gt;}CalendarMonthName), 1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 16:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-All-On-Open-Trigger-Bug/m-p/1313308#M407966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-19T16:44:19Z</dc:date>
    </item>
  </channel>
</rss>

