<?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 How to fix the application path while loading the data in to document which is there inside the Windows Application. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233058#M714521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can get the path of an application through Qlikview Functions and assign the same to the variable.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 May 2010 06:57:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-06T06:57:16Z</dc:date>
    <item>
      <title>How to fix the application path while loading the data in to document which is there inside the Windows Application.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233055#M714518</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 need to open the qv document inside the windows application. User may install our application in any of the folder/drive. So instead of fixing the path to access the qv document I have fixed the application so that we no need to worry about where the user is going to install the application.&lt;/P&gt;&lt;P&gt;See the below code which shows how I am accessing the qv document no matter where the user install the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;Private Sub Command1_Click()&lt;BR /&gt;QlikOCX1.OpenDocument &lt;B&gt;App.Path + "\OCX.qvw", "", ""&lt;/B&gt; //Fixed the application path&lt;BR /&gt;End Sub&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Same thing I need to do in LOAD data also. How can fix the application path while loading the data? So that we no need to worry in which drive/folder the data is loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;Sales:&lt;BR /&gt;ODBC CONNECT TO [Data];&lt;BR /&gt;SQL SELECT SBU,&lt;BR /&gt; `PRD_CD`,&lt;BR /&gt; `PRD_DESC`,&lt;BR /&gt; TYPE,&lt;BR /&gt; PACKING,&lt;BR /&gt; `COMP_`,&lt;BR /&gt; BRAND,&lt;BR /&gt; ORG,&lt;BR /&gt; ZONE,&lt;BR /&gt; REGION,&lt;BR /&gt; AREA,&lt;BR /&gt; `HQ_DESC`,&lt;BR /&gt; DATE,&lt;BR /&gt; SQTY,&lt;BR /&gt; SVAL,&lt;BR /&gt; TQTY,&lt;BR /&gt; TVAL,&lt;BR /&gt; //FYEAR,&lt;BR /&gt; FORMU&lt;BR /&gt;FROM &lt;B&gt;`E:\QLIKVIEW\APPLICATION\DATA`\new3&lt;/B&gt;; //How to fix the application path here&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Can some one help me out to fix the application path to load the data like the way I did for loading the document into windows application.&lt;/P&gt;&lt;P&gt;Hope to receive from some one soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 05:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233055#M714518</guid>
      <dc:creator />
      <dc:date>2010-05-06T05:59:13Z</dc:date>
    </item>
    <item>
      <title>How to fix the application path while loading the data in to document which is there inside the Windows Application.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233056#M714519</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;Likewise you can assign the path to a variable and make use of the variable in the loading; Or you can assign the value to path in your macro script.&lt;/P&gt;&lt;P&gt;Let Path ='E\QLIKVIEW\APPLICATION\DATA';&lt;/P&gt;&lt;P&gt;For eg:&lt;BR /&gt;Load *&lt;BR /&gt;from $(Path)\new.QVDl;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 06:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233056#M714519</guid>
      <dc:creator />
      <dc:date>2010-05-06T06:31:18Z</dc:date>
    </item>
    <item>
      <title>How to fix the application path while loading the data in to document which is there inside the Windows Application.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233057#M714520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Rajesh Jeyaraman wrote:&lt;BR /&gt;Likewise you can assign the path to a variable and make use of the variable in the loading; Or you can assign the value to path in your macro script.&lt;BR /&gt;Let Path ='E\QLIKVIEW\APPLICATION\DATA';&lt;BR /&gt;For eg:&lt;BR /&gt;Load *&lt;BR /&gt;from $(Path)\new.QVDl;&lt;BR /&gt; &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks for your help. But before trying with your idea I have few questions.As show below. Data's path is not fixed to this path. It can be anything. It depends on where the user is installing the application. So it is always variable. So instead of fixing the path in the variable let know how we can fix the application path here which varies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Let Path ='E\QLIKVIEW\APPLICATION\DATA'; // This path is not fixed here. It can be anything!&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I will get back to you once I try with your idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 06:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233057#M714520</guid>
      <dc:creator />
      <dc:date>2010-05-06T06:48:00Z</dc:date>
    </item>
    <item>
      <title>How to fix the application path while loading the data in to document which is there inside the Windows Application.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233058#M714521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can get the path of an application through Qlikview Functions and assign the same to the variable.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 06:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233058#M714521</guid>
      <dc:creator />
      <dc:date>2010-05-06T06:57:16Z</dc:date>
    </item>
    <item>
      <title>How to fix the application path while loading the data in to document which is there inside the Windows Application.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233059#M714522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Rajesh Jeyaraman wrote:&lt;BR /&gt;You can get the path of an application through Qlikview Functions and assign the same to the variable. &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;That's what! How to get the path using qlikview functions. I don't know how to do that.&lt;/P&gt;&lt;P&gt;You mean to do like this as mentioned in your post?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Let Path ='E\QLIKVIEW\APPLICATION\DATA';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This path will not be fixed. It is always varies. Mean while end user or the person who is going to install the application will not have access to this.&lt;/P&gt;&lt;P&gt;Please reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 07:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233059#M714522</guid>
      <dc:creator />
      <dc:date>2010-05-06T07:06:12Z</dc:date>
    </item>
    <item>
      <title>How to fix the application path while loading the data in to document which is there inside the Windows Application.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233060#M714523</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;Create a variable and assign "=QvWorkPath".&lt;/P&gt;&lt;P&gt;The QlikView Function is "QvWorkPath". After declaring the variable call the variable in your script.&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Rajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 07:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233060#M714523</guid>
      <dc:creator />
      <dc:date>2010-05-06T07:24:40Z</dc:date>
    </item>
    <item>
      <title>How to fix the application path while loading the data in to document which is there inside the Windows Application.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233061#M714524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Rajesh Jeyaraman wrote:&lt;BR /&gt;Create a variable and assign "=QvWorkPath".&lt;BR /&gt;The QlikView Function is "QvWorkPath". After declaring the variable call the variable in your script. &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;Thanks for your help. I have used your idea and also from the below post and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 08:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-the-application-path-while-loading-the-data-in-to/m-p/233061#M714524</guid>
      <dc:creator />
      <dc:date>2010-05-06T08:19:08Z</dc:date>
    </item>
  </channel>
</rss>

