<?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 Re: Include using relative path issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Include-using-relative-path-issue/m-p/1602812#M444466</link>
    <description>&lt;P&gt;Then it seemed that your relative path isn't valide. The easiest way to get the proper relative path is to use the file-wizard with the enabled option to apply relative paths to load the include-file as a flat-file. You don't need to execute this load - just copy &amp;amp; paste the path from the from-statement and then remove the whole thing again.&lt;/P&gt;&lt;P&gt;Further useful is the use of must_include instead of include because then you will get an error-message if the access to the file failed.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 15:31:20 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2019-07-16T15:31:20Z</dc:date>
    <item>
      <title>Include using relative path issue</title>
      <link>https://community.qlik.com/t5/QlikView/Include-using-relative-path-issue/m-p/1602625#M444451</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to connect qlikview to my database using my connection string.&lt;/P&gt;&lt;P&gt;But, I want to save connection string in txt and i want to call this txt file in inlcude as below :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$(Inlcude= ..\Includes\Connection.txt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So issue is, when I execute above script it is throwing an error of " there is no open data connection" but when I dont use this connection string txt file and I write full path as below then my script got executed correctly.&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Data Source=xxxxxxxxx;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=xxxxxxx;Use Encryption for Data=False;Tag with column collation when possible=False];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help asap.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 09:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Include-using-relative-path-issue/m-p/1602625#M444451</guid>
      <dc:creator>Mahamed_Qlik</dc:creator>
      <dc:date>2019-07-16T09:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Include using relative path issue</title>
      <link>https://community.qlik.com/t5/QlikView/Include-using-relative-path-issue/m-p/1602682#M444455</link>
      <description>&lt;P&gt;There is a typo within your include-statement:&lt;/P&gt;&lt;P&gt;$(In&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;lc&lt;/STRONG&gt;&lt;/FONT&gt;ude= ..\Includes\Connection.txt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 12:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Include-using-relative-path-issue/m-p/1602682#M444455</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-07-16T12:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Include using relative path issue</title>
      <link>https://community.qlik.com/t5/QlikView/Include-using-relative-path-issue/m-p/1602704#M444461</link>
      <description>&lt;P&gt;Sorry i was type within my query only..&lt;/P&gt;&lt;P&gt;I have checked and it is corrected in application but still same issue&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 12:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Include-using-relative-path-issue/m-p/1602704#M444461</guid>
      <dc:creator>Mahamed_Qlik</dc:creator>
      <dc:date>2019-07-16T12:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Include using relative path issue</title>
      <link>https://community.qlik.com/t5/QlikView/Include-using-relative-path-issue/m-p/1602812#M444466</link>
      <description>&lt;P&gt;Then it seemed that your relative path isn't valide. The easiest way to get the proper relative path is to use the file-wizard with the enabled option to apply relative paths to load the include-file as a flat-file. You don't need to execute this load - just copy &amp;amp; paste the path from the from-statement and then remove the whole thing again.&lt;/P&gt;&lt;P&gt;Further useful is the use of must_include instead of include because then you will get an error-message if the access to the file failed.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 15:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Include-using-relative-path-issue/m-p/1602812#M444466</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-07-16T15:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Include using relative path issue</title>
      <link>https://community.qlik.com/t5/QlikView/Include-using-relative-path-issue/m-p/1610789#M445122</link>
      <description>&lt;P&gt;Here is Help link to Include, Marcus is correct in his explanation of things as well.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/SystemVariables/Include.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/SystemVariables/Include.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here is a Microsoft link regarding relative paths as well:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats" target="_blank"&gt;https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 15:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Include-using-relative-path-issue/m-p/1610789#M445122</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-08-08T15:59:29Z</dc:date>
    </item>
  </channel>
</rss>

