<?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: Do While in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Do-While/m-p/1005028#M944769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a Do While loop syntax and example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do While Loop:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The do..loop control statement is a script iteration construct which executes one or several statements until a logical condition is met.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;do[ ( while | until ) condition ] [statements] &lt;/P&gt;&lt;P&gt;[exit do [ ( when | unless ) condition ] [statements] &lt;/P&gt;&lt;P&gt;loop[ ( while | until ) condition ] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;condition&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is a logical expression evaluating to true or false. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;statements&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is any group of one or more QlikView script statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The while or until conditional clause must only appear once in any do..loop statement, i.e. either after do or after loop. Each condition is interpreted only the first time it is encountered but is evaluated for every time it encountered in the loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an exit do clause is encountered inside the loop, the execution of the script will be transferred to the first statement after the loop clause denoting the end of the loop. An exit do clause can be made conditional by the optional use of a when or unless suffix. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the do..loop statement is a control statement and as such is ended with either a semicolon or end-of-line, each of its three possible clauses (do, exit do and loop) must not cross a line boundary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Examples:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Set a=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do while a&amp;lt;10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load * from file$(a).csv;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let a=a+1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For detail understanding, please go through QlikView Reference Manual, Page No. 236.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jan 2016 06:26:18 GMT</pubDate>
    <dc:creator>engishfaque</dc:creator>
    <dc:date>2016-01-08T06:26:18Z</dc:date>
    <item>
      <title>Do While</title>
      <link>https://community.qlik.com/t5/QlikView/Do-While/m-p/1005025#M944766</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;Can any one explain do while statement in qlikview with sample example........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 12:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-While/m-p/1005025#M944766</guid>
      <dc:creator />
      <dc:date>2015-12-30T12:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Do While</title>
      <link>https://community.qlik.com/t5/QlikView/Do-While/m-p/1005026#M944767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a very good explanation on how to use loops within qlikview: &lt;A href="https://community.qlik.com/qlik-blogpost/3274"&gt;Loops in the Script&lt;/A&gt;. Differences between the various loop-variants lie in the fact how and on which place are the conditions are checked - details could you find here: &lt;A href="https://en.wikipedia.org/wiki/Control_flow#Loops" title="https://en.wikipedia.org/wiki/Control_flow#Loops"&gt;Control flow - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 13:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-While/m-p/1005026#M944767</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-30T13:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Do While</title>
      <link>https://community.qlik.com/t5/QlikView/Do-While/m-p/1005027#M944768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can find an example in the Qlik help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;// load files file1.csv..file9.csv&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;Set a=1;&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;Do while a&amp;lt;10&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load * from file$(a).csv;&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let a=a+1;&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;Loop&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 19:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-While/m-p/1005027#M944768</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-07T19:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Do While</title>
      <link>https://community.qlik.com/t5/QlikView/Do-While/m-p/1005028#M944769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a Do While loop syntax and example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do While Loop:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The do..loop control statement is a script iteration construct which executes one or several statements until a logical condition is met.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;do[ ( while | until ) condition ] [statements] &lt;/P&gt;&lt;P&gt;[exit do [ ( when | unless ) condition ] [statements] &lt;/P&gt;&lt;P&gt;loop[ ( while | until ) condition ] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;condition&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is a logical expression evaluating to true or false. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;statements&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is any group of one or more QlikView script statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The while or until conditional clause must only appear once in any do..loop statement, i.e. either after do or after loop. Each condition is interpreted only the first time it is encountered but is evaluated for every time it encountered in the loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an exit do clause is encountered inside the loop, the execution of the script will be transferred to the first statement after the loop clause denoting the end of the loop. An exit do clause can be made conditional by the optional use of a when or unless suffix. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the do..loop statement is a control statement and as such is ended with either a semicolon or end-of-line, each of its three possible clauses (do, exit do and loop) must not cross a line boundary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Examples:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Set a=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do while a&amp;lt;10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load * from file$(a).csv;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let a=a+1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For detail understanding, please go through QlikView Reference Manual, Page No. 236.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 06:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-While/m-p/1005028#M944769</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-01-08T06:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Do While</title>
      <link>https://community.qlik.com/t5/QlikView/Do-While/m-p/1005029#M944770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, the great QlikView Help articles that nobody seems to find &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 09:39:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-While/m-p/1005029#M944770</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-08T09:39:49Z</dc:date>
    </item>
  </channel>
</rss>

