<?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 Keep a Field Locked in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Keep-a-Field-Locked/m-p/220724#M73611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NMiller, Footsie&lt;/P&gt;&lt;P&gt;It's solved thanks to you both.&lt;/P&gt;&lt;P&gt;In fact there's no need for the macro. Just define the OnUnlock event over the field of interest and then set the action for a Lock.&lt;/P&gt;&lt;P&gt;Again thank very much&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2010 17:01:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-22T17:01:08Z</dc:date>
    <item>
      <title>Keep a Field Locked</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-a-Field-Locked/m-p/220720#M73607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I would like to force a field property to be locked regardless the Unlock or Unlock All actions are used.&lt;/P&gt;&lt;P&gt;I was trying to find on some of the standard document properties or actions something that could have that effect but didn't succeed.&lt;/P&gt;&lt;P&gt;I did go through the API Guide, and there are some macro examples - onUnlockActionitems, CanUnlock that with the proper changes might provide the desired result - to remember: a field is locked by action when document opens and I want it to keep that locked status during all user session regardless someone press Lock/Unlock buttons.&lt;/P&gt;&lt;P&gt;If this can't be achieved is it feasible to just de-activate the Lock / Unlock functions for the entire document?&lt;/P&gt;&lt;P&gt;Thank you very much for your help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 11:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-a-Field-Locked/m-p/220720#M73607</guid>
      <dc:creator />
      <dc:date>2010-01-22T11:40:43Z</dc:date>
    </item>
    <item>
      <title>Keep a Field Locked</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-a-Field-Locked/m-p/220721#M73608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Indiana,&lt;/P&gt;&lt;P&gt;The only method I can think of is field specific and requires a macro. You might want to keep more than one field locked. Basically what you can do is create a macro to lock the field(s) in question. On the unlock event for the field call your macro to lock it. You could possibly use an action if you are using Qlikview 9. I am using 8.5 on site today so cannot test on 9 until later today.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Footsie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 12:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-a-Field-Locked/m-p/220721#M73608</guid>
      <dc:creator />
      <dc:date>2010-01-22T12:32:40Z</dc:date>
    </item>
    <item>
      <title>Keep a Field Locked</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-a-Field-Locked/m-p/220722#M73609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Footsie,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Understood your suggestion which goes in direction I've searched.&lt;/P&gt;&lt;P&gt;Is it possible for you to design the macro as I'm not familar with vbscript?&lt;/P&gt;&lt;P&gt;Appreciate all your help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 13:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-a-Field-Locked/m-p/220722#M73609</guid>
      <dc:creator />
      <dc:date>2010-01-22T13:13:52Z</dc:date>
    </item>
    <item>
      <title>Keep a Field Locked</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-a-Field-Locked/m-p/220723#M73610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The macro is pretty straightforward.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub Lock&lt;BR /&gt; ActiveDocument.Fields("FIELDNAME").Lock&lt;BR /&gt;End Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;As footsie said, put this in the UnLock event of your field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 15:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-a-Field-Locked/m-p/220723#M73610</guid>
      <dc:creator />
      <dc:date>2010-01-22T15:40:41Z</dc:date>
    </item>
    <item>
      <title>Keep a Field Locked</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-a-Field-Locked/m-p/220724#M73611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NMiller, Footsie&lt;/P&gt;&lt;P&gt;It's solved thanks to you both.&lt;/P&gt;&lt;P&gt;In fact there's no need for the macro. Just define the OnUnlock event over the field of interest and then set the action for a Lock.&lt;/P&gt;&lt;P&gt;Again thank very much&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 17:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-a-Field-Locked/m-p/220724#M73611</guid>
      <dc:creator />
      <dc:date>2010-01-22T17:01:08Z</dc:date>
    </item>
  </channel>
</rss>

