<?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 Problem in loading the admin login of my document! Help needed very urgently! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243467#M1206666</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 don't know whats wrong with this post. I am not getting much reply which and all are related to this post. I don't know why! Is it not understandable or missing any information. But i seriously in need of solution for this problem. Hope members of this community will consider this seriously and provide solution for this problem at the earliest.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2010 11:33:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-16T11:33:52Z</dc:date>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243466#M1206665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt; I am not able to get any solution even after referring to all the available document with me. I know everything will not be there straight forward in the document. But though i posted this problem many times in the forum i did not managed to get the solution for my problem. So thought to put the new post in little different way for better understanding for the experts who can give solution for this problem.&lt;/P&gt;&lt;P&gt;Using below sql i used to get the USER's userid and password from the items table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;select i.c_account_code as account,i.c_item_code as itemcode,c_pack as pack,&lt;BR /&gt;i.c_mfac_code as mfaccode,rtrim(i.c_name)+' '+rtrim(i.c_pack) as itemname,&lt;BR /&gt;&lt;B&gt;rtrim(i.c_account_code)+rtrim(i.c_mfac_code) as userid,rtrim(m.c_password) as password&lt;/B&gt;,&lt;BR /&gt;--rtrim(i.c_account_code)+rtrim(m.c_loginid) as userid,rtrim(m.c_password) as password,&lt;BR /&gt;i.n_mrp as MRP,i.n_newflag as recentitem,i.c_Scheme as schemes,m.c_name as mfacname,&lt;BR /&gt;c.c_name as contentname,c.c_note as contentname1&lt;BR /&gt;from item_mst i inner join mfac_mst m on i.c_mfac_code=m.c_mfac_code&lt;BR /&gt;left outer join content_mst c on i.c_content_code=c.c_content_code;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;But for getting the ADMIN's userid and password is giving me trouble. To get the details i need to connect to the mfac_mst table. But due to the synthetic key problem i did not connect that. Let me know how can i get the ADMIN's user id and password from the current structure. Do i need to use the inline function to get the admin details ??? If yes let me know how to use it here to get the same and give the admin rights for the document.&lt;/P&gt;&lt;P&gt;I have also don't know how to define the USER and ADMIN user of my document. In my current structure i don't know how to define the same.&lt;/P&gt;&lt;P&gt;If i load the admin details using the below code it creates one more synthetic key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;select c_mfac_code as mfaccode,c_account_code as account,rtrim(c_account_code)+rtrim(c_mfac_code) as userid,c_password as password from mfac_mst where c_mfac_code in ('01','admin')&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;So i am confused what to here! I want to have the admin login very urgently in my document. For example when admin logins in my document he/she should be in a position to see all the details related to the logged in admin's account. For eg if if admin logs in with the account code 001001 he should be in a position to see the data related to 001001 and if the admin logs in with account code 001007 he should be in position to see the data related to 001007.&lt;/P&gt;&lt;P&gt;I have also attached the document which i am working on. Hope some one can help me out soon. It is very very urgent!&lt;/P&gt;&lt;P&gt;To open the document you can use userid:0010012021, password:c2info99.&lt;/P&gt;&lt;P&gt;Expecting some quick reply from the experts!&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 07:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243466#M1206665</guid>
      <dc:creator />
      <dc:date>2010-02-15T07:21:11Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243467#M1206666</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 don't know whats wrong with this post. I am not getting much reply which and all are related to this post. I don't know why! Is it not understandable or missing any information. But i seriously in need of solution for this problem. Hope members of this community will consider this seriously and provide solution for this problem at the earliest.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 11:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243467#M1206666</guid>
      <dc:creator />
      <dc:date>2010-02-16T11:33:52Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243468#M1206667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;items:&lt;BR /&gt;LOAD *, account &amp;amp; '/' &amp;amp; itemcode as %Key;&lt;BR /&gt;SQL select&lt;BR /&gt; i.c_account_code as account,&lt;BR /&gt; i.c_item_code as itemcode,&lt;BR /&gt; c_pack as pack,&lt;BR /&gt; i.c_mfac_code as mfaccode,&lt;BR /&gt; rtrim(i.c_name)+' '+rtrim(i.c_pack) as itemname,&lt;BR /&gt; rtrim(i.c_account_code)+rtrim(i.c_mfac_code) as userid,&lt;BR /&gt; rtrim(m.c_password) as password,&lt;BR /&gt; i.n_mrp as MRP,&lt;BR /&gt; i.n_newflag as recentitem,&lt;BR /&gt; i.c_Scheme as schemes,&lt;BR /&gt; m.c_name as mfacname,&lt;BR /&gt; c.c_name as contentname,&lt;BR /&gt; c.c_note as contentname1&lt;BR /&gt;from item_mst i inner join mfac_mst m&lt;BR /&gt; on i.c_mfac_code=m.c_mfac_code&lt;BR /&gt; left outer join content_mst c&lt;BR /&gt; on i.c_content_code=c.c_content_code;&lt;BR /&gt;concatenate(items)&lt;BR /&gt;SQL select&lt;BR /&gt;c_mfac_code as mfaccode,&lt;BR /&gt;c_account_code as account,&lt;BR /&gt;rtrim(c_account_code)+rtrim(c_mfac_code) as userid,&lt;BR /&gt;c_password as password&lt;BR /&gt;from mfac_mst&lt;BR /&gt;where c_mfac_code in ('01','admin');&lt;BR /&gt;sales:&lt;BR /&gt;SQL select&lt;BR /&gt; stk_sales.c_ac_code &amp;amp; '/' &amp;amp; stk_sales.c_item_code as %Key,&lt;BR /&gt; Year(d_date) as Year,&lt;BR /&gt; Month(d_date) as Month,&lt;BR /&gt; d_date as Date,&lt;BR /&gt; n_purqty as PurQty,&lt;BR /&gt; n_pur_Sch_qty as PurSch,&lt;BR /&gt; n_purvalue as PurValue,&lt;BR /&gt; n_salqty as SalQty,&lt;BR /&gt; n_sal_sch_qty as SalSch,&lt;BR /&gt; n_salvalue as SalValue,&lt;BR /&gt; n_crqty as RtnQty,&lt;BR /&gt; n_cr_sch_qty as RtnSch,&lt;BR /&gt; n_crvalue as RtnValue,&lt;BR /&gt; n_clqty as StkQty,&lt;BR /&gt; n_clvalue as StkValue&lt;BR /&gt;from stk_sales, item_mst, mfac_mst&lt;BR /&gt;where stk_sales.c_item_code=item_mst.c_item_code and item_mst.c_mfac_code=mfac_mst.c_mfac_code;&lt;BR /&gt;Section Access;&lt;BR /&gt;SecurityTable:&lt;BR /&gt;LOAD&lt;BR /&gt; 'USER' as [ACCESS],&lt;BR /&gt; userid as USERID,&lt;BR /&gt; upper(password) as PASSWORD,&lt;BR /&gt; account as [account code],&lt;BR /&gt; mfaccode as [mfaccode]&lt;BR /&gt;RESIDENT items;&lt;BR /&gt;Section Application;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 19:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243468#M1206667</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-16T19:41:19Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243469#M1206668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh!&lt;/P&gt;&lt;P&gt;Thanks for taking up the challenge. I will surely check it and get back to you at the earliest.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 06:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243469#M1206668</guid>
      <dc:creator />
      <dc:date>2010-02-17T06:16:01Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243470#M1206669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh!&lt;/P&gt;&lt;P&gt;Thanks for your help and sorry for my late response. I have applied the same script that was given by you in mine but it throws following error. Don't have any idea why this error has been thrown. Please check and help me out!&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/3531.untitled.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/3531.untitled.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 06:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243470#M1206669</guid>
      <dc:creator />
      <dc:date>2010-02-18T06:56:49Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243471#M1206670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh!&lt;/P&gt;&lt;P&gt;Did you found out why we get this error and also look like to what changes you did in my script and why it is required. Please reply me whenever you are free.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 13:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243471#M1206670</guid>
      <dc:creator />
      <dc:date>2010-02-18T13:10:45Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243472#M1206671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sales:&lt;BR /&gt;LOAD *,&lt;BR /&gt;ac_code, &amp;amp; '/' &amp;amp; it_code as %Key;&lt;BR /&gt;SQL select&lt;BR /&gt;stk_sales.c_ac_code as ac_code,&lt;BR /&gt;stk_sales.c_item_code as it_code,&lt;BR /&gt;Year(d_date) as Year,&lt;BR /&gt;Month(d_date) as Month,&lt;BR /&gt;d_date as Date,&lt;BR /&gt;n_purqty as PurQty,&lt;BR /&gt;n_pur_Sch_qty as PurSch,&lt;BR /&gt;n_purvalue as PurValue,&lt;BR /&gt;n_salqty as SalQty,&lt;BR /&gt;n_sal_sch_qty as SalSch,&lt;BR /&gt;n_salvalue as SalValue,&lt;BR /&gt;n_crqty as RtnQty,&lt;BR /&gt;n_cr_sch_qty as RtnSch,&lt;BR /&gt;n_crvalue as RtnValue,&lt;BR /&gt;n_clqty as StkQty,&lt;BR /&gt;n_clvalue as StkValue&lt;BR /&gt;from stk_sales, item_mst, mfac_mst&lt;BR /&gt;where stk_sales.c_item_code=item_mst.c_item_code and item_mst.c_mfac_code=mfac_mst.c_mfac_code;&lt;BR /&gt;drop fields ac_code, it_code;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 17:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243472#M1206671</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-18T17:41:38Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243473#M1206672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh!&lt;/P&gt;&lt;P&gt;Thanks for your help! I am getting the following error when i tried with your script.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/336057.untitled.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/336057.untitled.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/0407.untitled1.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/0407.untitled1.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Script which has been used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&amp;lt;pre&amp;gt;items:&lt;BR /&gt;LOAD *, account &amp;amp; '/' &amp;amp; itemcode as %Key;&lt;BR /&gt;SQL select&lt;BR /&gt; i.c_account_code as account,&lt;BR /&gt; i.c_item_code as itemcode,&lt;BR /&gt; c_pack as pack,&lt;BR /&gt; i.c_mfac_code as mfaccode,&lt;BR /&gt; rtrim(i.c_name)+' '+rtrim(i.c_pack) as itemname,&lt;BR /&gt; rtrim(i.c_account_code)+rtrim(i.c_mfac_code) as userid,&lt;BR /&gt; rtrim(m.c_password) as password,&lt;BR /&gt; i.n_mrp as MRP,&lt;BR /&gt; i.n_newflag as recentitem,&lt;BR /&gt; i.c_Scheme as schemes,&lt;BR /&gt; m.c_name as mfacname,&lt;BR /&gt; c.c_name as contentname,&lt;BR /&gt; c.c_note as contentname1&lt;BR /&gt;from item_mst i inner join mfac_mst m&lt;BR /&gt; on i.c_mfac_code=m.c_mfac_code&lt;BR /&gt; left outer join content_mst c&lt;BR /&gt; on i.c_content_code=c.c_content_code;&lt;BR /&gt;concatenate(items)&lt;BR /&gt;SQL select&lt;BR /&gt;c_mfac_code as mfaccode,&lt;BR /&gt;c_account_code as account,&lt;BR /&gt;rtrim(c_account_code)+rtrim(c_mfac_code) as userid,&lt;BR /&gt;c_password as password&lt;BR /&gt;from mfac_mst&lt;BR /&gt;where c_mfac_code in ('01','admin');sales:&lt;BR /&gt;LOAD *,&lt;BR /&gt;ac_code, &amp;amp; '/' &amp;amp; it_code as %Key;&lt;BR /&gt;SQL select&lt;BR /&gt;stk_sales.c_ac_code as ac_code,&lt;BR /&gt;stk_sales.c_item_code as it_code,&lt;BR /&gt;Year(d_date) as Year,&lt;BR /&gt;Month(d_date) as Month,&lt;BR /&gt;d_date as Date,&lt;BR /&gt;n_purqty as PurQty,&lt;BR /&gt;n_pur_Sch_qty as PurSch,&lt;BR /&gt;n_purvalue as PurValue,&lt;BR /&gt;n_salqty as SalQty,&lt;BR /&gt;n_sal_sch_qty as SalSch,&lt;BR /&gt;n_salvalue as SalValue,&lt;BR /&gt;n_crqty as RtnQty,&lt;BR /&gt;n_cr_sch_qty as RtnSch,&lt;BR /&gt;n_crvalue as RtnValue,&lt;BR /&gt;n_clqty as StkQty,&lt;BR /&gt;n_clvalue as StkValue&lt;BR /&gt;from stk_sales, item_mst, mfac_mst&lt;BR /&gt;where stk_sales.c_item_code=item_mst.c_item_code and item_mst.c_mfac_code=mfac_mst.c_mfac_code;drop fields ac_code, it_code;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 05:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243473#M1206672</guid>
      <dc:creator />
      <dc:date>2010-02-19T05:55:22Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243474#M1206673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh!&lt;/P&gt;&lt;P&gt;Have you found out any why this error was thrown?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 13:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243474#M1206673</guid>
      <dc:creator />
      <dc:date>2010-02-19T13:15:40Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243475#M1206674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rikab,&lt;/P&gt;&lt;P&gt;I am not yet 24x7 on cummunity support. I usually logoff about 10PM EST, otherwise my wife thinks I am getting addicted to QlikCommunity. But it's too late now not to be, I guess. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For your probelm take out the comma after ac_code.&lt;/P&gt;&lt;P&gt;sales:&lt;BR /&gt;LOAD *,&lt;BR /&gt;ac_code&lt;STRONG&gt;,&lt;/STRONG&gt; &amp;amp; '/' &amp;amp; it_code as %Key;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 14:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243475#M1206674</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-19T14:55:00Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243476#M1206675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rakesh!&lt;/P&gt;&lt;P&gt;I didn't mean you to be 24x7 on community support. I have seen your post and it was really worth. By the i am a newbie and thats the reason i always look for some to reply me.&lt;/P&gt;&lt;P&gt;By the way i am at home now after reaching office i will the requested changes and will get back to you.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 19:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243476#M1206675</guid>
      <dc:creator />
      <dc:date>2010-02-19T19:11:31Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243477#M1206676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh!&lt;/P&gt;&lt;P&gt;You have provided me the solution to get the admin login. But to be frank as i am newbie. I am not too sure how the script provided by works.&lt;/P&gt;&lt;P&gt;I think you are concatenating the common columns and naming it as the key field between the two tables. I am not sure how sales1 has been formed automatically. With this script you have managed to get the admin user's login. But let me know how to define the ADMIN and USER in the section access.&lt;/P&gt;&lt;P&gt;Also let me know why the below script has been written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;items:&lt;BR /&gt;LOAD *, account &amp;amp; '/' &amp;amp; itemcode as %Key;&lt;BR /&gt;sales:&lt;BR /&gt;LOAD *,&lt;BR /&gt;ac_code &amp;amp; '/' &amp;amp; it_code as %Key;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Though i have given explanation for few things. I request you to give the brief explanation for the solution provided by you.&lt;/P&gt;&lt;P&gt;Also requesting you to answer for the below query!&lt;/P&gt;&lt;P&gt;Wont the below one will not create synthetic key issue? I am seeing lots of synthetic has been formed after adding your script. Will it not create performance issue? (I want to study about the synthetic key issue first. Please send me the document if you have any)&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/72118.untitled.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/72118.untitled.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/6758.untitled1.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/6758.untitled1.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sorry from my side for asking so many things to you. It is not that i am not trying anything from my side. I am also trying from my side. Whatever i didn't understood i am putting it here.&lt;/P&gt;&lt;P&gt;Expecting your reply!&lt;/P&gt;&lt;P&gt;Happy weekend!&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 06:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243477#M1206676</guid>
      <dc:creator />
      <dc:date>2010-02-20T06:58:32Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243478#M1206677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rikab,&lt;/P&gt;&lt;P&gt;It's very hard to give you 100% solution without knowling complete data model and data contents. Is there anyway you can upload your QVW file with some sample data in a file? Someone here, then, will provide you an example reading from that sample file, all you would need to do is then read from database and not file when you have it. Just keep the column names same in the data file.&lt;/P&gt;&lt;P&gt;Also explain when is the relation between Sales and Items tables. Are they typical Sales header and items table?&lt;/P&gt;&lt;P&gt;Rakesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 13:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243478#M1206677</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-20T13:41:59Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243479#M1206678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh!&lt;/P&gt;&lt;P&gt;Happy Morning!&lt;/P&gt;&lt;P&gt;It's very hard to give you 100% solution without knowling complete data model and data contents. &lt;B&gt;--&amp;gt; Provided you the data contents in data contents sheets of the attached document.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Is there anyway you can upload your QVW file with some sample data in a file? Someone here, then, will provide you an example reading from that sample file, all you would need to do is then read from database and not file when you have it. Just keep the column names same in the data file. &lt;B&gt;--&amp;gt; Sample data file has been provided to you in QVD format. It is available in the document folder.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Also explain when is the relation between Sales and Items tables. Are they typical Sales header and items table? &lt;B&gt;--&amp;gt; Yes, they are typical sales and items table.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt; To open the application use userid: 0010011161, password: 7426&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 06:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243479#M1206678</guid>
      <dc:creator />
      <dc:date>2010-02-22T06:31:15Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243480#M1206679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is how I would do it very quickly. Hope this gives you enough idea on how to continue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 19:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243480#M1206679</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-22T19:58:46Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243481#M1206680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh!&lt;/P&gt;&lt;P&gt;Looks like you have almost finished it. But still i want to inform few things to you.&lt;/P&gt;&lt;P&gt;The document which i am working on is for pharma distributors. The actors here are the DISTRIBUTOR(They have unique account(Distributor1:001001,Distributor2: 001007) code and there are N no of mfac(representative) comes under them) and COMPANY representative(N no of mfac(MFACCODE: N no of mfacode comes under the account code)&lt;/P&gt;&lt;P&gt;So when i logs in with 0010012021(account:001001,mfacode:2021). It will show the data of mfaccode:2021 which belongs to the account:001001). if logs in with 0010072021(account:001007,mfacode:2021). It will show the data of mfaccode:2021 which belongs to the account:001001). For example when admin of (001001) logs in it should show the performance of all the manufactures and where as when the company rep with accountcode:001001 and mfacode:2021 they should be in a postion to see the item wise performance. Same like what is happening now.&lt;/P&gt;&lt;P&gt;So i user with the account code 001001 will have one admin and the user with the account code 001007 will have one admin. To see the performance of both together there will be one more admin who can see both the account data(001001+00107).&lt;/P&gt;&lt;P&gt;As per your logic you are concatenating the upper(account) &amp;amp; '/' &amp;amp; upper(mfaccode) as SecurityLink, in this case if i think i can see the over all data but if i want to login with admin with account(001001) i will not be able to see the data of the account:001001.&lt;/P&gt;&lt;P&gt;Do i need to load the data every time from QVD? Is it possible for you to load it using the select query instead of LOAD. If this is not possible do i need to create separate document in the same folder to load the data in to the QVD and so that same will be loaded like what you are doing it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;LOAD&lt;BR /&gt; 'USER' as [ACCESS], upper([userid]) as [USERID], upper([password]) as [PASSWORD],&lt;BR /&gt; upper(account) &amp;amp; '/' &amp;amp; upper(mfaccode) as SecurityLink // I used this as a filter. But you have concatenated it. Because of this admin of account(001001) will be able to see the over all data which comes under the account: 001001)&lt;BR /&gt;resident TempTab;&lt;BR /&gt;&lt;BR /&gt;concatenate(SecurityTable)&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; ACCESS, USERID, PASSWORD, SecurityLink&lt;BR /&gt; ADMIN, ADMIN, ADMIN, *&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I am trying to learn your logic and method. I am really thankful for all your effort.Many thanks to you!&lt;/P&gt;&lt;P&gt;When find time please do reply!&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 07:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243481#M1206680</guid>
      <dc:creator />
      <dc:date>2010-02-23T07:19:42Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243482#M1206681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh!&lt;/P&gt;&lt;P&gt;Have you found any solution??? Sorry if i am disturbing you on this regard. Please help me out to complete this issue which i am facing from a long time.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 11:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243482#M1206681</guid>
      <dc:creator />
      <dc:date>2010-02-24T11:29:03Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243483#M1206682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rakesh!&lt;/P&gt;&lt;P&gt;Still i did not get any solution which i was looking for. Requesting you to work on it as i couldn't over come this issue from such a long time.&lt;/P&gt;&lt;P&gt;Waiting for your reply!&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Mar 2010 14:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243483#M1206682</guid>
      <dc:creator />
      <dc:date>2010-03-04T14:43:49Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243484#M1206683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rakesh!&lt;/P&gt;&lt;P&gt;I am waiting for your reply! Please help me out.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 11:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243484#M1206683</guid>
      <dc:creator />
      <dc:date>2010-03-19T11:42:02Z</dc:date>
    </item>
    <item>
      <title>Problem in loading the admin login of my document! Help needed very urgently!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243485#M1206684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should give you enough idea. Not sure why it's taking you too long to figure this out, may be you need to hire some help.&lt;/P&gt;&lt;P&gt;Anyway, try enclosed with following:&lt;/P&gt;&lt;P&gt;user: 0010011171 password:7636 --&amp;gt; Only access to 001001 account and 1171 mfacode&lt;/P&gt;&lt;P&gt;user: 001001 password: 001001 --&amp;gt; all mfacodes of Account 001001&lt;/P&gt;&lt;P&gt;user: admin password: admin --&amp;gt; full document code access&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Mar 2010 22:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-loading-the-admin-login-of-my-document-Help-needed/m-p/243485#M1206684</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-03-20T22:43:05Z</dc:date>
    </item>
  </channel>
</rss>

