<?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 Adding attributes to loaded files in-script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-attributes-to-loaded-files-in-script/m-p/384398#M1166489</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;I was wondering if it was possible to insert extra attributes into records when they are being loaded. The equivalent in a SQL pull would be like adding: &lt;/P&gt;&lt;P&gt;"TEXT" as record_type&lt;/P&gt;&lt;P&gt;to a select clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2012 12:23:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-05T12:23:13Z</dc:date>
    <item>
      <title>Adding attributes to loaded files in-script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-attributes-to-loaded-files-in-script/m-p/384398#M1166489</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;I was wondering if it was possible to insert extra attributes into records when they are being loaded. The equivalent in a SQL pull would be like adding: &lt;/P&gt;&lt;P&gt;"TEXT" as record_type&lt;/P&gt;&lt;P&gt;to a select clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 12:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-attributes-to-loaded-files-in-script/m-p/384398#M1166489</guid>
      <dc:creator />
      <dc:date>2012-09-05T12:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding attributes to loaded files in-script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-attributes-to-loaded-files-in-script/m-p/384399#M1166490</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;Use the LOAD sentence to do that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13468478508611583" jivemacro_uid="_13468478508611583"&gt;&lt;P&gt;Customer:&lt;/P&gt;&lt;P&gt;LOAD CustID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Customer' AS Type; // this is not in the SQL server&lt;/P&gt;&lt;P&gt;SQL SELECT CustID, CustName&lt;/P&gt;&lt;P&gt;FROM dbo.Customers;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 12:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-attributes-to-loaded-files-in-script/m-p/384399#M1166490</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-09-05T12:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding attributes to loaded files in-script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-attributes-to-loaded-files-in-script/m-p/384400#M1166491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Single quotes! Of course. Thank you Miguel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 12:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-attributes-to-loaded-files-in-script/m-p/384400#M1166491</guid>
      <dc:creator />
      <dc:date>2012-09-05T12:54:24Z</dc:date>
    </item>
  </channel>
</rss>

