<?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 Use an include file in the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209671#M64575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael (and SQL Cowboy) - that's just what i was looking for.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jul 2010 09:31:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-01T09:31:26Z</dc:date>
    <item>
      <title>Use an include file in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209665#M64569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Is it possible to use an include file in the script? For example, I have a bunch of reference data which I tend to load into every QV file. I have this already loaded into qvd's so at the moment I just do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;Load *&lt;BR /&gt;FROM c:\myFiles\myRefData1.qvd&lt;BR /&gt;Load *&lt;BR /&gt;FROM c:\myFiles\myRefData2.qvd&lt;BR /&gt;Load *&lt;BR /&gt;FROM c:\myFiles\myRefData3.qvd&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;etc. But it would be really nice if I could just put all that in a text file and have something like this in my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;&amp;amp;include c:\myFiles\myRefData.txt&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Can I do something like this?&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 17:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209665#M64569</guid>
      <dc:creator />
      <dc:date>2010-06-30T17:31:54Z</dc:date>
    </item>
    <item>
      <title>Use an include file in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209666#M64570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&amp;lt;pre&amp;gt;&lt;BR /&gt;myRefData:&lt;BR /&gt;Load *&lt;BR /&gt;FROM c:\myFiles\myRefData1.qvd;&lt;BR /&gt;Concatenate&lt;BR /&gt;Load *&lt;BR /&gt;FROM c:\myFiles\myRefData2.qvd;Concatenate&lt;BR /&gt;Load *&lt;BR /&gt;FROM c:\myFiles\myRefData3.qvd;&lt;BR /&gt;&lt;BR /&gt;Store myRefData into c:\myFiles\myRefData.qvd (qvd);&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;And after that you can use it in any dashboards like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&amp;lt;pre&amp;gt;Load *&lt;BR /&gt;FROM c:\myFiles\myRefData.qvd;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 17:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209666#M64570</guid>
      <dc:creator />
      <dc:date>2010-06-30T17:48:46Z</dc:date>
    </item>
    <item>
      <title>Use an include file in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209667#M64571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact, there is possibility to use include. It is under Edit menu in Edit Script. Or just type:&lt;BR /&gt;&lt;STRONG&gt;$(Include=c:\myFiles\myRefData.txt)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 18:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209667#M64571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-30T18:15:11Z</dc:date>
    </item>
    <item>
      <title>Use an include file in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209668#M64572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax for an include is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&amp;lt;h4&amp;gt;$(Include&lt;A id="Include" name="Include"&gt;&lt;/A&gt; = filename )&amp;lt;/h4&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;so in your case would be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&amp;lt;h4&amp;gt;$(Include&lt;A id="Include" name="Include"&gt;&lt;/A&gt; = c:\myFiles\myRefData.txt );&amp;lt;/h4&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: Michale was quicker on the post button it seems lol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 18:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209668#M64572</guid>
      <dc:creator />
      <dc:date>2010-06-30T18:18:00Z</dc:date>
    </item>
    <item>
      <title>Use an include file in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209669#M64573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qowboy,&lt;BR /&gt;I'm not a quicker qliker, just happend to read it a few min before you... &lt;IMG alt="Geeked" src="http://community.qlik.com/emoticons/emotion-15.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 18:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209669#M64573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-30T18:30:36Z</dc:date>
    </item>
    <item>
      <title>Use an include file in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209670#M64574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nick, but I probably should have said that the different RefData files are not related and could not be concatenated.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 09:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209670#M64574</guid>
      <dc:creator />
      <dc:date>2010-07-01T09:30:06Z</dc:date>
    </item>
    <item>
      <title>Use an include file in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209671#M64575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael (and SQL Cowboy) - that's just what i was looking for.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 09:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-include-file-in-the-script/m-p/209671#M64575</guid>
      <dc:creator />
      <dc:date>2010-07-01T09:31:26Z</dc:date>
    </item>
  </channel>
</rss>

