<?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 Conditional Locking of field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Locking-of-field/m-p/371916#M138257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using QV 11. I want to know is it possible to lock a field based on some condition?&lt;/P&gt;&lt;P&gt;Like say for example, if OSUser = 'ABC' then only lock field F1.&lt;/P&gt;&lt;P&gt;Is it possible?? Please jump up with ideas &lt;STRONG&gt;ASAP.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2012 07:36:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-29T07:36:38Z</dc:date>
    <item>
      <title>Conditional Locking of field</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Locking-of-field/m-p/371916#M138257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using QV 11. I want to know is it possible to lock a field based on some condition?&lt;/P&gt;&lt;P&gt;Like say for example, if OSUser = 'ABC' then only lock field F1.&lt;/P&gt;&lt;P&gt;Is it possible?? Please jump up with ideas &lt;STRONG&gt;ASAP.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 07:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Locking-of-field/m-p/371916#M138257</guid>
      <dc:creator />
      <dc:date>2012-05-29T07:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Locking of field</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Locking-of-field/m-p/371917#M138258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created following macro to lock the field and called it depending on the user&lt;/P&gt;&lt;P&gt;on 'On Open' trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub SelectAndLock&lt;/P&gt;&lt;P&gt; set var = ActiveDocument.Variables("vB")&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.Fields("Branch").UnLock&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if var.GetContent.String &amp;lt;&amp;gt; "Branch A" then&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.Fields("Branch").Lock&lt;/P&gt;&lt;P&gt; end if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 05:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Locking-of-field/m-p/371917#M138258</guid>
      <dc:creator />
      <dc:date>2012-06-14T05:43:34Z</dc:date>
    </item>
  </channel>
</rss>

