<?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 sub in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340495#M29552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that the issue is solved. but am not getting any records in &lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;TPP_SUM&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jul 2017 01:42:02 GMT</pubDate>
    <dc:creator>fawazqutami</dc:creator>
    <dc:date>2017-07-21T01:42:02Z</dc:date>
    <item>
      <title>Issue with the sub</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340488#M29545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to load the below script but I've got a message '&lt;SPAN style="color: #ff0000; font-family: monospace; font-size: 13px;"&gt;Field 'VST_ID' not found&lt;/SPAN&gt;'!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why is that? please help ..................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub TPP_ROOT (VST_ID)&lt;/P&gt;&lt;P&gt;VST_SUMM:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(SPAYER) as GUEST,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(CSHARE) as PAYER&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM C_REV&lt;SPAN style="font-size: 10pt;"&gt; where IH_EMR_VST_ID_MAS=VST_ID Group By IH_EMR_VST_ID_MAS;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Store VST_ID,PAYER, GUEST from VST_SUMM into TPP_SUM;&lt;/P&gt;&lt;P&gt;Drop Table VST_SUMM;&lt;/P&gt;&lt;P&gt;EndSub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub TPP_VST (VST_ID))&lt;/P&gt;&lt;P&gt;VST_SUMM:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(SPAYER) as GUEST,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(CSHARE) as PAYER&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM C_REV&lt;/P&gt;&lt;P&gt;(qvd) where IH_EMR_VST_ID=VST_ID Group By IH_EMR_VST_ID;&lt;/P&gt;&lt;P&gt;Store VST_ID,PAYER, GUEST from VST_SUMM into TPP_SUM;&lt;/P&gt;&lt;P&gt;Drop Table VST_SUMM;&lt;/P&gt;&lt;P&gt;EndSub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//------------------------------------------------&lt;/P&gt;&lt;P&gt;OPV: LOAD*FROM OPV_Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For A=1 to NoOfRows('OPV') &lt;/P&gt;&lt;P&gt;if NOTE_TYPE=0 then &lt;/P&gt;&lt;P&gt;Call TPP_ROOT(IH_EMR_VST_ID);&lt;/P&gt;&lt;P&gt;elseif NOTE_TYPE&amp;lt;&amp;gt;0 then&lt;/P&gt;&lt;P&gt;Call TPP_VST(IH_EMR_VST_ID);&lt;/P&gt;&lt;P&gt;Next A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 02:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340488#M29545</guid>
      <dc:creator>fawazqutami</dc:creator>
      <dc:date>2017-07-20T02:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the sub</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340489#M29546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both of your STORE statements reference the the field "VST_ID". However, VST_ID is not created in the LOAD statement.&amp;nbsp; It may be simpler if you did not reference any fields in your STORE statement. e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VST_SUMM into TPP_SUM;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Also, it's conventional to use the .qvd extension on the STORE filename. e.g. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;STORE &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VST_SUMM into TPP_SUM.qvd;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 04:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340489#M29546</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-07-20T04:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the sub</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340490#M29547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use: &lt;EM&gt;$(VST_ID)&lt;/EM&gt; instead of &lt;EM&gt;VST_ID&lt;/EM&gt; when referencing parameter in subroutine.&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 06:00:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340490#M29547</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2017-07-20T06:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the sub</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340491#M29548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the qualified path but still the same error ... ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 07:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340491#M29548</guid>
      <dc:creator>fawazqutami</dc:creator>
      <dc:date>2017-07-20T07:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the sub</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340492#M29549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still the same error "&lt;SPAN style="color: #ff0000; font-family: monospace; font-size: 13px; background-color: #f2f2f2;"&gt;Error in expression: ')' expected:'&lt;/SPAN&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 07:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340492#M29549</guid>
      <dc:creator>fawazqutami</dc:creator>
      <dc:date>2017-07-20T07:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the sub</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340493#M29550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 11:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340493#M29550</guid>
      <dc:creator>fawazqutami</dc:creator>
      <dc:date>2017-07-20T11:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the sub</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340494#M29551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we see the whole script as it is now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340494#M29551</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2017-07-20T12:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the sub</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340495#M29552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that the issue is solved. but am not getting any records in &lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;TPP_SUM&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 01:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340495#M29552</guid>
      <dc:creator>fawazqutami</dc:creator>
      <dc:date>2017-07-21T01:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the sub</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340496#M29553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're not getting the ID in your loop.&lt;/P&gt;&lt;P&gt;Why not just join?&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;OPV: LOAD*FROM [lib://Stage2 (uranus_qlikadmin)/OPV_Table.qvd](qvd);&lt;/P&gt;&lt;P&gt;LEFT JOIN&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;VST_SUMM:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IH_EMR_VST_ID as vstID,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum( SELF_PAYER ) as GUEST,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum( COMPANY_SHARE ) as PAYER&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [lib://Stage2 (uranus_qlikadmin)/C_REV.qvd](qvd)&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Even if your loop did work, the resulting file would only contain the last ID as each would overwrite the previous.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 15:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-the-sub/m-p/1340496#M29553</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2017-07-21T15:20:07Z</dc:date>
    </item>
  </channel>
</rss>

