<?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: Script Error when connecting to .mdb file with OLE DB in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Error-when-connecting-to-mdb-file-with-OLE-DB/m-p/561159#M209464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok.&amp;nbsp; I forgot about the "[ ]"'s being required for field names that contain spaces.&amp;nbsp; But shouldn't the Qlikview Select Wizard check the field name and insert the correct symbol?&amp;nbsp; Sounds like a nice functionality improvement suggestion.&amp;nbsp; Thanks for you help Jaime! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2013 17:19:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-11T17:19:12Z</dc:date>
    <item>
      <title>Script Error when connecting to .mdb file with OLE DB</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-when-connecting-to-mdb-file-with-OLE-DB/m-p/561155#M209460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am a newbie and am completing a tutorial in a book I bought.&amp;nbsp; I am trying to connect to a .mdb (Access file) and when I hit "reload" I receive a Script Error pop-up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field not found - ,%Origin AirportID`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Origin Airport`&amp;gt;&lt;/P&gt;&lt;P&gt;SQL SELECT `%Origin Airport ID`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Origin Airport`&lt;/P&gt;&lt;P&gt;FROM 'Origin Airports`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the connection when I created the connection script and I'm positive that I am pointed at the correct file.&amp;nbsp; The script looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Distance Groups]:&lt;/P&gt;&lt;P&gt;LOAD [%Distance Group ID], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Distance Interval]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\Data Files\QVDs\Distance Groups.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;OLEDB CONNECT32 TO [Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=C:\Users\Jerid\Documents\CIA_Stuff\Software\QlikView\QlikView_11_for_Developers\Chapters 1 - 11\QlikView Development\Airline Operations\Data Files\MDBs\Dimension Tables.mdb;Mode=Share Deny None;Extended Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Database Password="";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD `%Origin Airport ID`,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Origin Airport`;&lt;/P&gt;&lt;P&gt;SQL SELECT `%Origin Airport ID`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Origin Airport`&lt;/P&gt;&lt;P&gt;FROM `Origin Airports`;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-when-connecting-to-mdb-file-with-OLE-DB/m-p/561155#M209460</guid>
      <dc:creator />
      <dc:date>2013-12-11T16:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error when connecting to .mdb file with OLE DB</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-when-connecting-to-mdb-file-with-OLE-DB/m-p/561156#M209461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try with brackets [ ] :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;LOAD [%Origin Airport ID],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Origin Airport]&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT `%Origin Airport ID`,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Origin Airport`&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM `Origin Airports`;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-when-connecting-to-mdb-file-with-OLE-DB/m-p/561156#M209461</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2013-12-11T16:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error when connecting to .mdb file with OLE DB</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-when-connecting-to-mdb-file-with-OLE-DB/m-p/561157#M209462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jaime!&amp;nbsp; The SELECT wizard created that syntax...&amp;nbsp; you would think that it would be correct??? Right?&amp;nbsp; Is this a bug of some kind that should be reported?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-when-connecting-to-mdb-file-with-OLE-DB/m-p/561157#M209462</guid>
      <dc:creator />
      <dc:date>2013-12-11T16:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Script Error when connecting to .mdb file with OLE DB</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-when-connecting-to-mdb-file-with-OLE-DB/m-p/561158#M209463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if it's a bug, but definitely it can be misleading. This &lt;STRONG style="font-size: 18pt;"&gt;' &lt;/STRONG&gt;and this &lt;SPAN style="font-size: 18pt;"&gt;&lt;STRONG&gt;` &lt;/STRONG&gt;&lt;/SPAN&gt;work as expected in SQL/ script. However, in QlikView script, fields with names that contain spaces need to be enclosed with [ ] instead of the other symbols. Another option if you need to get all the fields from Database Table you can use LOAD * in the QlikView Part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-when-connecting-to-mdb-file-with-OLE-DB/m-p/561158#M209463</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2013-12-11T16:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error when connecting to .mdb file with OLE DB</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-when-connecting-to-mdb-file-with-OLE-DB/m-p/561159#M209464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok.&amp;nbsp; I forgot about the "[ ]"'s being required for field names that contain spaces.&amp;nbsp; But shouldn't the Qlikview Select Wizard check the field name and insert the correct symbol?&amp;nbsp; Sounds like a nice functionality improvement suggestion.&amp;nbsp; Thanks for you help Jaime! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 17:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-when-connecting-to-mdb-file-with-OLE-DB/m-p/561159#M209464</guid>
      <dc:creator />
      <dc:date>2013-12-11T17:19:12Z</dc:date>
    </item>
  </channel>
</rss>

