<?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: close document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/close-document/m-p/503380#M188084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to stop executing the script then you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exit Script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Nov 2013 08:27:41 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-11-28T08:27:41Z</dc:date>
    <item>
      <title>close document</title>
      <link>https://community.qlik.com/t5/QlikView/close-document/m-p/503378#M188082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I enforce closing document in the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (1=1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CloseDocument;&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a way? Even calling some macro function/sub or something...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Itsik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 08:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/close-document/m-p/503378#M188082</guid>
      <dc:creator />
      <dc:date>2013-11-28T08:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: close document</title>
      <link>https://community.qlik.com/t5/QlikView/close-document/m-p/503379#M188083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to close the document after the script finish.&lt;/P&gt;&lt;P&gt;You can use Document triggers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Settings -&amp;gt; Document properties -&amp;gt; Tab triggers -&amp;gt;&amp;nbsp; Add actions for 'OnPostReload' - &amp;gt; Add &lt;/P&gt;&lt;P&gt;-&amp;gt; External -&amp;gt; Close this document&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 08:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/close-document/m-p/503379#M188083</guid>
      <dc:creator />
      <dc:date>2013-11-28T08:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: close document</title>
      <link>https://community.qlik.com/t5/QlikView/close-document/m-p/503380#M188084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to stop executing the script then you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exit Script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 08:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/close-document/m-p/503380#M188084</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-11-28T08:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: close document</title>
      <link>https://community.qlik.com/t5/QlikView/close-document/m-p/503381#M188085</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 want to run some script untill some point - where the if statement located and then if the if retun true I want to close the all dcument, not only stop the script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Itsik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 08:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/close-document/m-p/503381#M188085</guid>
      <dc:creator />
      <dc:date>2013-11-28T08:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: close document</title>
      <link>https://community.qlik.com/t5/QlikView/close-document/m-p/503382#M188086</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;The only way I know is to create an error which will terminate the load and close the document (effectively reverting to the version before the reload started). Set ErrorMode to 2 if you want to use this in a batch load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you batch reload the document, then it will automatically close when the script completes, so Exit Script will end the script and the document will close. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 09:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/close-document/m-p/503382#M188086</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-11-28T09:07:32Z</dc:date>
    </item>
  </channel>
</rss>

