<?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: Locked field and field trigger in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247200#M94173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the use of the macro, that's what i'm doing but for a reason i ignore, the sheet wouldn't activate. Anyway, that's not such a big deal. For the hierarchy, that is working well with your macro, but yes, in my intial problem, it was unlocking the country if i selected something further down in the hierarchy, especially if a city was present in two countries, it would unlock and select both countries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2011 11:13:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-09T11:13:01Z</dc:date>
    <item>
      <title>Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247189#M94162</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;here is my problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field that is locked with the trigger OnLeaveSheet. In the same time, I want that as soon as I make a selection in the field, the next sheet is automatically opened. I do this with the Field Event Trigger, OnSelect and my field. But the Trigger OnSelect totally delete the effect of the first trigger, that's to say that my field is not locked anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any option. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 09:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247189#M94162</guid>
      <dc:creator />
      <dc:date>2011-09-08T09:57:51Z</dc:date>
    </item>
    <item>
      <title>Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247190#M94163</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;Are you able to put up an example to work with, would make it easier to see what's going wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 10:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247190#M94163</guid>
      <dc:creator />
      <dc:date>2011-09-08T10:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247191#M94164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example, build with the tutorial sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see that once selected, the country field should be locked and no change are supposed to be possible on sheet 2. But if you click on the pie chart, the selection is changed, so the field country is not locked anymore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 07:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247191#M94164</guid>
      <dc:creator />
      <dc:date>2011-09-09T07:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247192#M94165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you just need to add 'lock field' to your event actions on the country field,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at attached, is that what you mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 08:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247192#M94165</guid>
      <dc:creator />
      <dc:date>2011-09-09T08:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247193#M94166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it already helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now if I unselect a country in the first sheet, I don't want to activate the second sheet. In fact, I would like the Country field selection to be possible only on the first sheet. And the second sheet sould be activated only if one country is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 08:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247193#M94166</guid>
      <dc:creator />
      <dc:date>2011-09-09T08:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247194#M94167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, and actually in my real document, I'm using a hierarchy, so once I selected something in the descendant field, the field country is unlocked, especially if what I selected in the descendance is available in 2 different countries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I already tried it but in my case, the trigger Lock OnSelect is not really working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 08:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247194#M94167</guid>
      <dc:creator />
      <dc:date>2011-09-09T08:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247195#M94168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so you mean when you make a selection further down your hierarchy you want your country field to lock also?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've attached a fix for the clearing problem also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 09:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247195#M94168</guid>
      <dc:creator />
      <dc:date>2011-09-09T09:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247196#M94169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok up to this it is perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I go further down in my hierarchy, I want the country field to remain locked, since it was locked on sheet1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 09:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247196#M94169</guid>
      <dc:creator />
      <dc:date>2011-09-09T09:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247197#M94170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, the macro is simple but very useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 09:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247197#M94170</guid>
      <dc:creator />
      <dc:date>2011-09-09T09:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247198#M94171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just a little question. When I use your macro, adapted to my doc, the sheet activation wouldn't work.&amp;nbsp; I created the variable, put the right field name and sheetID, everything works but the activateSheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 09:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247198#M94171</guid>
      <dc:creator />
      <dc:date>2011-09-09T09:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247199#M94172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; you'll need to call the macro in your trigger to get it to run,&lt;/P&gt;&lt;P&gt;also by locking the country field you will only be able to make possible selections further down your hierarchy, not sure what you mean by this, is your app unlocking country when you select further down the hierarchy?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 09:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247199#M94172</guid>
      <dc:creator />
      <dc:date>2011-09-09T09:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247200#M94173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the use of the macro, that's what i'm doing but for a reason i ignore, the sheet wouldn't activate. Anyway, that's not such a big deal. For the hierarchy, that is working well with your macro, but yes, in my intial problem, it was unlocking the country if i selected something further down in the hierarchy, especially if a city was present in two countries, it would unlock and select both countries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 11:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247200#M94173</guid>
      <dc:creator />
      <dc:date>2011-09-09T11:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Locked field and field trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247201#M94174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, it works perfect. I just forgot or wrongly define the variable countryCount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot Joe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 12:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locked-field-and-field-trigger/m-p/247201#M94174</guid>
      <dc:creator />
      <dc:date>2011-09-09T12:31:44Z</dc:date>
    </item>
  </channel>
</rss>

