<?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: Relative Path on ODCB Connection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Relative-Path-on-ODCB-Connection/m-p/1042692#M350812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can push the file path to a text file and you the same in variable so that it will be easy to maintain and update &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2016 06:05:48 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2016-03-10T06:05:48Z</dc:date>
    <item>
      <title>Relative Path on ODCB Connection</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path-on-ODCB-Connection/m-p/1042690#M350810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have this issue where I need to put an ODBC connection like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ODBC CONNECT32 TO [Excel Files;DBQ=C:\Users\Documents\Proyect\File.xlsx];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I constantly need to change the location of the file so I have to change the absolute path to relative to work. So far relative paths seem not to work with ODBC connections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know any way to make an ODBC connection work with relative path?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 22:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path-on-ODCB-Connection/m-p/1042690#M350810</guid>
      <dc:creator />
      <dc:date>2016-03-09T22:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path on ODCB Connection</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path-on-ODCB-Connection/m-p/1042691#M350811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use a variable and then change the variable and use $-sign expansion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;// - 1 means up one level .... -2 would mean up two levels:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;vPath = Left( DocumentPath() , FindOneOf( DocumentPath() , '\' , SubStringCount( DocumentPath() , '\' )&amp;nbsp; &lt;STRONG&gt;-1&lt;/STRONG&gt; ) );&lt;/P&gt;&lt;P&gt;LEFT vFile = file1.xlsx';&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ODBC CONNECT32 TO [Excel Files;DBQ=$(vPath)$(vFile)];&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 23:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path-on-ODCB-Connection/m-p/1042691#M350811</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-03-09T23:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path on ODCB Connection</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path-on-ODCB-Connection/m-p/1042692#M350812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can push the file path to a text file and you the same in variable so that it will be easy to maintain and update &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 06:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path-on-ODCB-Connection/m-p/1042692#M350812</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-10T06:05:48Z</dc:date>
    </item>
  </channel>
</rss>

