<?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: what is include statement ? what is use of include statement. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/what-is-include-statement-what-is-use-of-include-statement/m-p/855903#M1013679</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;see link &lt;A href="http://www.quickintelligence.co.uk/qlikview-include-files/" title="http://www.quickintelligence.co.uk/qlikview-include-files/"&gt;http://www.quickintelligence.co.uk/qlikview-include-files/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/129618"&gt;Include statement&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2015 10:23:27 GMT</pubDate>
    <dc:creator>vinod2086</dc:creator>
    <dc:date>2015-04-17T10:23:27Z</dc:date>
    <item>
      <title>what is include statement ? what is use of include statement.</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-include-statement-what-is-use-of-include-statement/m-p/855899#M1013675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends&lt;/P&gt;&lt;P&gt;what is include statement ? what is use of include statement.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;can anyone&amp;nbsp; explain the include statement . what time it will use.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 08:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-include-statement-what-is-use-of-include-statement/m-p/855899#M1013675</guid>
      <dc:creator />
      <dc:date>2015-04-17T08:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: what is include statement ? what is use of include statement.</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-include-statement-what-is-use-of-include-statement/m-p/855900#M1013676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add a piece of code or variable definition in a file and then use the content of the file into the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;$(Include=..\_Common Code\Source\Variables Main.txt)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 08:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-include-statement-what-is-use-of-include-statement/m-p/855900#M1013676</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-04-17T08:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: what is include statement ? what is use of include statement.</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-include-statement-what-is-use-of-include-statement/m-p/855901#M1013677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with an include you can add a script from a flie (txt or qvs) that will executed by reload the script.&lt;/P&gt;&lt;P&gt;It can be used by central script part eg. set colour definition or formula definition in variables or load statements which are often use in load scripts.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 08:46:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-include-statement-what-is-use-of-include-statement/m-p/855901#M1013677</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2015-04-17T08:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: what is include statement ? what is use of include statement.</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-include-statement-what-is-use-of-include-statement/m-p/855902#M1013678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a few very interesting use cases for $(Include). These immediately come to mind:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Externalize Script Code&lt;/STRONG&gt;&lt;/SPAN&gt; - In large projects where you may work with multiple developers, editing a script in the QVW using the script editor is not the best way to coordinate efforts. As soon as projects get bigger, and on condition that their script files don't require the security that a QVW document offers, you better start to externalize script code. Makes code management a lot easier. In documents that we create for enterprise customers, the QVW load script is often reduced to a few SET/LET statements and one or more $(Include) constructs.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Code reuse&lt;/STRONG&gt;&lt;/SPAN&gt; - typical and very simple example is an OLEDB CONNECT statement with username and password. Imagine that you need the same connect string in 20+ documents. And then the password changes? You can reduce 20+ edits to a single one if your connect string is stored in a central script file that is included in these documents.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Code libraries&lt;/STRONG&gt;&lt;/SPAN&gt; - after a while, every developer has a collection of handy pieces of code. You could copy and past'em wherever there's a need, but a better solution (see also my previous example) would be to turn them into SUBs and store them in a single external script file. Then $(Include) that library file into every project. Don't worry about too many unused definitions, the fact that you can just CALL the ones you need means big savings in time and effort.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Change code parts&lt;/STRONG&gt;&lt;/SPAN&gt; - depending on the environment where your document is reloaded, you can change a piece of code into something entirely different - without making a single modification to your document's load script. Store the code in a script file, and put different versions of this file on different platforms (e.g. DEV vs PROD). Or replace a production version of a script file with a development version for testing purposes. Very handy.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Omit unwanted/irrelevant code&lt;/STRONG&gt;&lt;/SPAN&gt; - in certain environments, a specific piece of code may be unwanted. A simple example is the use of Section Access. Undesirable in Development, an absolute necessity in Production. Put the code in a script file, and add an $(Include) construct in your load script. Put the good script file in your Production environment, but place no or an empty script file in Development. The $(Include) construct will not complain about missing script files.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are other use cases, I'm sure. And YMMV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 09:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-include-statement-what-is-use-of-include-statement/m-p/855902#M1013678</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-04-17T09:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: what is include statement ? what is use of include statement.</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-include-statement-what-is-use-of-include-statement/m-p/855903#M1013679</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;see link &lt;A href="http://www.quickintelligence.co.uk/qlikview-include-files/" title="http://www.quickintelligence.co.uk/qlikview-include-files/"&gt;http://www.quickintelligence.co.uk/qlikview-include-files/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/129618"&gt;Include statement&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 10:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-include-statement-what-is-use-of-include-statement/m-p/855903#M1013679</guid>
      <dc:creator>vinod2086</dc:creator>
      <dc:date>2015-04-17T10:23:27Z</dc:date>
    </item>
  </channel>
</rss>

