<?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 Split code to edit repetitive Fields ¿SubRoutine? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-code-to-edit-repetitive-Fields-SubRoutine/m-p/677058#M1074872</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'm searching for some way to separate the code to edit just some repetitive fields. I don't want to repeat the code for fields that are equal but that are in different tables.&lt;/P&gt;&lt;P&gt;I thought that maybe with a subroutine I can do it, but I don't know how!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it any way to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;An Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;LOAD *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(ID_RUT) as ID_RUT2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[Table1]:&lt;/P&gt;&lt;P&gt;ID_RUT,&lt;/P&gt;&lt;P&gt;NAME&lt;/P&gt;&lt;P&gt;FROM file1.qvd (qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;LOAD*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(ID_RUT) as ID_RUT2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[Table2]:&lt;/P&gt;&lt;P&gt;ID_RUT&lt;/P&gt;&lt;P&gt;ANOTHER_FIELD,&lt;/P&gt;&lt;P&gt;ANOTHER_FIELD2,&lt;/P&gt;&lt;P&gt;FROM file222.qvd (qvd)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jul 2014 21:22:17 GMT</pubDate>
    <dc:creator>cristian_av</dc:creator>
    <dc:date>2014-07-29T21:22:17Z</dc:date>
    <item>
      <title>Split code to edit repetitive Fields ¿SubRoutine?</title>
      <link>https://community.qlik.com/t5/QlikView/Split-code-to-edit-repetitive-Fields-SubRoutine/m-p/677058#M1074872</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'm searching for some way to separate the code to edit just some repetitive fields. I don't want to repeat the code for fields that are equal but that are in different tables.&lt;/P&gt;&lt;P&gt;I thought that maybe with a subroutine I can do it, but I don't know how!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it any way to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;An Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;LOAD *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(ID_RUT) as ID_RUT2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[Table1]:&lt;/P&gt;&lt;P&gt;ID_RUT,&lt;/P&gt;&lt;P&gt;NAME&lt;/P&gt;&lt;P&gt;FROM file1.qvd (qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;LOAD*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(ID_RUT) as ID_RUT2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[Table2]:&lt;/P&gt;&lt;P&gt;ID_RUT&lt;/P&gt;&lt;P&gt;ANOTHER_FIELD,&lt;/P&gt;&lt;P&gt;ANOTHER_FIELD2,&lt;/P&gt;&lt;P&gt;FROM file222.qvd (qvd)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 21:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-code-to-edit-repetitive-Fields-SubRoutine/m-p/677058#M1074872</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2014-07-29T21:22:17Z</dc:date>
    </item>
  </channel>
</rss>

