<?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: Space_Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658637#M1072307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming that "Order Details" is a valid database table name, since you have not specified otherwise.&lt;/P&gt;&lt;P&gt;If you use your SQL Query tool, can you select from "Order Details" with space? In postgres, for example you need the character "`" (grave tilde) when the name of the table or field has something else than azAZ (underscores, points, etc).&lt;/P&gt;&lt;P&gt;Make sure that your data source (your MDB) has the table stored with space and that you can do the query manually.&lt;/P&gt;&lt;P&gt;I have created a sample test in my laptop and works fine.&lt;/P&gt;&lt;P&gt;Moreover, make sure that the loop is populating the variables as you expect.&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2014 08:53:53 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2014-08-12T08:53:53Z</dc:date>
    <item>
      <title>Space_Error</title>
      <link>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658632#M1072302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a clarification&amp;nbsp; on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table which contains field name and field-values(tables which are already exists in mdb) are respectively&lt;/P&gt;&lt;P&gt;Tablename and&amp;nbsp; Orders,...,Odrer Details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script was follows as like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tablename&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Orders&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Products&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Categories&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Divisions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shippers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shipments&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Order Details&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LET Vtablecount=FieldValueCount('Tablename');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;For i=1 to $(Vtablecount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let Vtable=FieldValue('Tablename',i);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM $(Vtable);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything is fine here&lt;/P&gt;&lt;P&gt;But I was unable to load a single table name as &lt;STRONG&gt;Order Details&lt;/STRONG&gt; dynamically due to it has space .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;even though i was tying also this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM [$(Vtable)];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me in this if knows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sattish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 06:40:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658632#M1072302</guid>
      <dc:creator />
      <dc:date>2014-08-12T06:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Space_Error</title>
      <link>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658633#M1072303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure this is correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use [Order Details]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 06:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658633#M1072303</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-12T06:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Space_Error</title>
      <link>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658634#M1072304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But we can't&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 07:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658634#M1072304</guid>
      <dc:creator />
      <dc:date>2014-08-12T07:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Space_Error</title>
      <link>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658635#M1072305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use instead:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM '$(Vtable)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Miguel&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 07:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658635#M1072305</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2014-08-12T07:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Space_Error</title>
      <link>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658636#M1072306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 08:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658636#M1072306</guid>
      <dc:creator />
      <dc:date>2014-08-12T08:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Space_Error</title>
      <link>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658637#M1072307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming that "Order Details" is a valid database table name, since you have not specified otherwise.&lt;/P&gt;&lt;P&gt;If you use your SQL Query tool, can you select from "Order Details" with space? In postgres, for example you need the character "`" (grave tilde) when the name of the table or field has something else than azAZ (underscores, points, etc).&lt;/P&gt;&lt;P&gt;Make sure that your data source (your MDB) has the table stored with space and that you can do the query manually.&lt;/P&gt;&lt;P&gt;I have created a sample test in my laptop and works fine.&lt;/P&gt;&lt;P&gt;Moreover, make sure that the loop is populating the variables as you expect.&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 08:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658637#M1072307</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2014-08-12T08:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Space_Error</title>
      <link>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658638#M1072308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes manually it was working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want to retrieve the all the tables dynamically(which all are tables exists in MDB) irrespective of any space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See below this is one more scenario for your reference.Creating QVD's through Binary load irrespective of any space.Here no issues it was working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Binary d:\practice\workbook\bkp\qv_training.qvw;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET Vbinqvdpath=D:\Others\Bin\;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let Vbinumtab=NoOfTables();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i=0 to $(Vbinumtab)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let Vtable=TableName(i);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE &lt;STRONG&gt;[$(Vtable)]&lt;/STRONG&gt; into&amp;nbsp; $(Vbinqvdpath)&lt;STRONG&gt;[$(Vtable).qvd]&lt;/STRONG&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sattish G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 09:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658638#M1072308</guid>
      <dc:creator />
      <dc:date>2014-08-12T09:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Space_Error</title>
      <link>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658639#M1072309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I was right, the grave tilde works (see attached).&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 14:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Space-Error/m-p/658639#M1072309</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2014-08-12T14:55:35Z</dc:date>
    </item>
  </channel>
</rss>

