<?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: Issue with the peek command in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-the-peek-command/m-p/426666#M698687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've always used the peek() with quotes for the 1st and 3rd parameters and never had a problem. Just checked the Help and in fact I was wrong, it doesn't mention the need to use quotes in the 3rd parameter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The editor thinks it is an error when you use a dollar-sign expansion before the load statement... You statement is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad I could help you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 16:36:47 GMT</pubDate>
    <dc:creator>fosuzuki</dc:creator>
    <dc:date>2012-12-11T16:36:47Z</dc:date>
    <item>
      <title>Issue with the peek command</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-the-peek-command/m-p/426663#M698681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a simple loop to read an Oracle table several times with different schemas.&amp;nbsp; I am creating a resident table containing all the schemas and using the peek command with a Do While loop to step through and load each one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is with the second peek command.&amp;nbsp; It always returns a null value and the Load statement abends.&amp;nbsp; I'm sure it is something very simple that I am overlooking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample application using inline load statements to illustrate the issue.&amp;nbsp; In this application, I simply want to read data from TAB1, TAB2 and TAB3 to build resident table TEST_TABLE.&amp;nbsp; You will find that the applicaiton abends the second time the load statement is executed because vTableName is null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you will notice that the editor is flagging the load statement as if there is an error.&amp;nbsp;&amp;nbsp; I'm assuming that is because it does not know what value will be in vConcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using QV10 SR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 14:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-the-peek-command/m-p/426663#M698681</guid>
      <dc:creator>john_duffy</dc:creator>
      <dc:date>2012-12-11T14:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the peek command</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-the-peek-command/m-p/426664#M698684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your peek() function needs a little adjustment:&lt;/P&gt;&lt;P&gt;peek('TABLE_NAME',$(vPeekCntr),'TABLES_TO_LOAD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the 3rd parameter must be passed as string, with single quotes. Though it is kinda strange that it works for the first record without the quotes...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-the-peek-command/m-p/426664#M698684</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-12-11T15:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the peek command</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-the-peek-command/m-p/426665#M698686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Fernando.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with you, it is stange how the first peek command works without quotes around the 3rd parameter.&amp;nbsp; We use the peek command in numerous applications and have never included the quotes.&amp;nbsp; Those peek commands are not used in a loop and are only executed once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you agree with my statement regarding the editor flagging the load statement as if there was an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-the-peek-command/m-p/426665#M698686</guid>
      <dc:creator>john_duffy</dc:creator>
      <dc:date>2012-12-11T15:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the peek command</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-the-peek-command/m-p/426666#M698687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've always used the peek() with quotes for the 1st and 3rd parameters and never had a problem. Just checked the Help and in fact I was wrong, it doesn't mention the need to use quotes in the 3rd parameter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The editor thinks it is an error when you use a dollar-sign expansion before the load statement... You statement is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad I could help you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 16:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-the-peek-command/m-p/426666#M698687</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-12-11T16:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the peek command</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-the-peek-command/m-p/426667#M698688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Fernando.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 18:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-the-peek-command/m-p/426667#M698688</guid>
      <dc:creator>john_duffy</dc:creator>
      <dc:date>2012-12-11T18:07:09Z</dc:date>
    </item>
  </channel>
</rss>

