<?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: ODBC Connection with Excel Files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736689#M672983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not aware of another way to get all sheets of an Excel File. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short:&lt;/P&gt;&lt;P&gt;The sheetnames I get here, will be used later to load the sheet data with normal biff load (ooxml).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if a sheet does not exist in an Excel file, QV would give you an error. Another usecase would be to work around mistakes in Sheetnames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Aug 2014 11:29:47 GMT</pubDate>
    <dc:creator>peschu123</dc:creator>
    <dc:date>2014-08-25T11:29:47Z</dc:date>
    <item>
      <title>ODBC Connection with Excel Files</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736687#M672981</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;I need to scan about 200 xlsx Files on a network share. I read the sheetnames and save them in a table for later steps in load process.&lt;/P&gt;&lt;P&gt;So I use ODBC CONNECT32 [Excel Files;DBQ=$(FoundFile)]. Besides a little trouble with 32/64 bit it works in general.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any resources for more informations? The following problems occur:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32/64 Bit - Depending on the office installation of the pc I run the script,&amp;nbsp; I have to change the "ODBC CONNECT" String...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there a function which can handle this for me or do I need too build some "errorhandling" manually?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 File won't load with an unspecific ODBC Error Message, I think this happens because this file is opened by somebody else(I get&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the message when I open the file manually). All other files load correct. If I copy the files locally everything works fine too. Even if I&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; open a file it has no influence on ODBC read at all.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; ODBC Error interrupts script run even with "SET ErrorMode = 0;". Is it possible to avoid this? Instead I want the script to finish&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concat() the filenames in a variable...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; I tried a connection string like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Provider=Microsoft.ACE.OLEDB.12.0;Data Source=$(File);Extended Properties="Excel 12.0 Xml;HDR=YES;IMEX=1";]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But it doesn't seem to work. Script won't run or runs just to first execution of this statement and exits without any Errormessage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general everything works ok for development...but is not "(end) user" safe. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate if someone can help me out. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 10:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736687#M672981</guid>
      <dc:creator>peschu123</dc:creator>
      <dc:date>2014-08-25T10:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection with Excel Files</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736688#M672982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView can read Excel files directly without the use of ODBC, so unless you need some feature only available in ODBC I would recommend that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 11:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736688#M672982</guid>
      <dc:creator>kji</dc:creator>
      <dc:date>2014-08-25T11:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection with Excel Files</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736689#M672983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not aware of another way to get all sheets of an Excel File. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short:&lt;/P&gt;&lt;P&gt;The sheetnames I get here, will be used later to load the sheet data with normal biff load (ooxml).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if a sheet does not exist in an Excel file, QV would give you an error. Another usecase would be to work around mistakes in Sheetnames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 11:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736689#M672983</guid>
      <dc:creator>peschu123</dc:creator>
      <dc:date>2014-08-25T11:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection with Excel Files</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736690#M672984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Peschu82,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use For Each loop for importing multiple xls files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 12:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736690#M672984</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2014-08-25T12:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection with Excel Files</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736691#M672985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thank you for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use for each loop, thats not the point of my question. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problems are a bit more specific related to odbc connection to excel...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 12:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736691#M672985</guid>
      <dc:creator>peschu123</dc:creator>
      <dc:date>2014-08-25T12:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection with Excel Files</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736692#M672986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hi Peschu82&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If all the excel files contains same number of columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * From *.xls (biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan. V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 12:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736692#M672986</guid>
      <dc:creator>qv_jagan</dc:creator>
      <dc:date>2014-08-25T12:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection with Excel Files</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736693#M672987</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;What connection string are you using? I have used the following without too many problems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [Excel Files;DBQ=$(vReportDefinitions)];&lt;/P&gt;&lt;P&gt;SpreadsheetData:&lt;/P&gt;&lt;P&gt;SQLTABLES;&lt;/P&gt;&lt;P&gt;DISCONNECT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where vReportDefinitions is a relative path to the xls file. If you on a 64 bit machine, this script will attempt to use the 32 bit driver. If you want it to use a 64 bit driver on a&amp;nbsp; 64 bit machine, the just use CONNECT rather than CONNECT32. This form will use 64 bit driver on a 64 bit machine and the 32 bit driver on a 32 bit machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know if this is helpful for you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 13:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736693#M672987</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-08-25T13:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: ODBC Connection with Excel Files</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736694#M672988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do it the same way. (pls attached example file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connection works only with "ODBC CONNECT32" or "ODBC CONNECT64". Which is not (yet) a big problem.&lt;/P&gt;&lt;P&gt;Here I have to use CONNECT32. I'm not 100% sure but I think it depends on the QV/office version used not on the machine(windows) version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I wrote earlier ...&amp;nbsp; "in general everything works ok" ... (people seem not to read this or I express myself not clearly) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call me complicated or too much detail oriented, but I like things to work as smooth as possible. So if there are questions from target group, I want those questions to be content related not nerdy technical issues.&lt;/P&gt;&lt;P&gt;For example: Try to explain the issue about 32/64 bit to end users, it stops exactly at the point when you say something about "32/64bit" ---&amp;gt; ??? .. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway the most annoying thing is the error interrups script execution even when ErrorMode = 0. Which is the opposite behavior to what is written in the qv manual?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 14:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-with-Excel-Files/m-p/736694#M672988</guid>
      <dc:creator>peschu123</dc:creator>
      <dc:date>2014-08-25T14:06:28Z</dc:date>
    </item>
  </channel>
</rss>

