<?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 Section Access Not behaving as Expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-Access-Not-behaving-as-Expected/m-p/343664#M126894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is really what could be called a pitfall:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Helps says about the use of the wildcard '*':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A wildcard, i. e. *, is interpreted as all (listed) values of this field, i.e. a value listed elsewhere in this table. If used in one of the system fields (&lt;SPAN class="Italic"&gt;USERID, PASSWORD, NTNAME&lt;/SPAN&gt; or &lt;SPAN class="Italic"&gt;SERIAL&lt;/SPAN&gt;) in a table loaded in the access section of the script, it is interpreted as all (also not listed) possible values of this field. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the introduction to section access (&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1853"&gt;http://community.qlik.com/docs/DOC-1853 )&lt;/A&gt;&lt;/P&gt;&lt;P&gt;tries to explain more clearly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A common misconception in section access is the use of “*” (star) in section access.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;“Star” means “all listed values” not all values for the field. This will be explained in&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;detail in the script examples.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So ADMIN only has access to 1,2,3 because those are the listed values in that table.&lt;/P&gt;&lt;P&gt;Not very logical and I don't know why they have implemented like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it's a feature, not a bug &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2012 20:46:03 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-03-08T20:46:03Z</dc:date>
    <item>
      <title>Section Access Not behaving as Expected</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-Not-behaving-as-Expected/m-p/343663#M126893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In desktop version 11, in the help for section access, copy their code and make one change (besides their annoying typos - 'RechNo' and 'A') change autogenerage 3 to 4.&amp;nbsp; see below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;section access;&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;ACCESS, USERID,REDUCTION, OMIT&lt;/P&gt;&lt;P&gt;ADMIN, ADMIN,*,&lt;/P&gt;&lt;P&gt;USER, A,1&lt;/P&gt;&lt;P&gt;USER, B, 2,NUM&lt;/P&gt;&lt;P&gt;USER, C, 3, ALPHA&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P class="Code"&gt;section application;&lt;/P&gt;&lt;P class="Code"&gt;T1:&lt;/P&gt;&lt;P class="Code"&gt;load *,&lt;/P&gt;&lt;P class="Code"&gt;NUM AS REDUCTION;&lt;/P&gt;&lt;P class="Code"&gt;load&lt;/P&gt;&lt;P class="Code"&gt;Chr( RecNo()+ord('A')-1) AS ALPHA,&lt;/P&gt;&lt;P class="Code"&gt;RecNo() AS NUM&lt;/P&gt;&lt;P class="Code"&gt;AUTOGENERATE 4;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Be sure to follow their instructions and "In order for this procedure to take place, the option &lt;SPAN class="Bold"&gt;Initial Data Reduction Based on Section Access&lt;/SPAN&gt; on the &lt;SPAN class="Bold"&gt;Document Properties: Opening&lt;/SPAN&gt; page must be selected." And make sure you close qlikview in order to enter a different user's name.&amp;nbsp; &lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Type closing and signing into the document at 'admin'&lt;/P&gt;&lt;P class="Code"&gt;The problem I'm seeing is that in Section Access a REDUCTION value of * for Admin should show all values in the REDUCTION field from the T1 table.&amp;nbsp; But it only displays A, B, and C.&amp;nbsp; Where's 'D'?! What is the problem here?&amp;nbsp; Is this a bug?&amp;nbsp; How can I display all values of REDUCTION for an admin or any other user while still enforcing 'reduction' for others.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 19:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-Not-behaving-as-Expected/m-p/343663#M126893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-08T19:28:22Z</dc:date>
    </item>
    <item>
      <title>Section Access Not behaving as Expected</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-Not-behaving-as-Expected/m-p/343664#M126894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is really what could be called a pitfall:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Helps says about the use of the wildcard '*':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A wildcard, i. e. *, is interpreted as all (listed) values of this field, i.e. a value listed elsewhere in this table. If used in one of the system fields (&lt;SPAN class="Italic"&gt;USERID, PASSWORD, NTNAME&lt;/SPAN&gt; or &lt;SPAN class="Italic"&gt;SERIAL&lt;/SPAN&gt;) in a table loaded in the access section of the script, it is interpreted as all (also not listed) possible values of this field. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the introduction to section access (&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1853"&gt;http://community.qlik.com/docs/DOC-1853 )&lt;/A&gt;&lt;/P&gt;&lt;P&gt;tries to explain more clearly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A common misconception in section access is the use of “*” (star) in section access.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;“Star” means “all listed values” not all values for the field. This will be explained in&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;detail in the script examples.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So ADMIN only has access to 1,2,3 because those are the listed values in that table.&lt;/P&gt;&lt;P&gt;Not very logical and I don't know why they have implemented like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it's a feature, not a bug &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 20:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-Not-behaving-as-Expected/m-p/343664#M126894</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-03-08T20:46:03Z</dc:date>
    </item>
    <item>
      <title>Section Access Not behaving as Expected</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-Not-behaving-as-Expected/m-p/343665#M126895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's defnitely misleading.&amp;nbsp; The * therefore, is fairly useless if trying to do data reduction in any large database.&amp;nbsp; I'll just need to create and reference a table that has a list of all possible values.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 21:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-Not-behaving-as-Expected/m-p/343665#M126895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-08T21:15:14Z</dc:date>
    </item>
  </channel>
</rss>

