<?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: Capitalize column names in table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547458#M457096</link>
    <description>&lt;P&gt;and this shows an error when i paste this&amp;nbsp;&lt;/P&gt;&lt;P&gt;let s = '';&lt;/P&gt;&lt;P&gt;for field=1 to NoOfFields('$(tableabc)');&lt;/P&gt;&lt;P&gt;let s = '$(s)'&lt;/P&gt;&lt;P&gt;&amp;amp; if(len('$(s)')&amp;gt;0, ',' &amp;amp; chr(10), '')&lt;/P&gt;&lt;P&gt;&amp;amp; '[' &amp;amp; FieldName($(field), '$(tableabc)') &amp;amp; ']'&lt;/P&gt;&lt;P&gt;&amp;amp; ' as ' &amp;amp; '[' &amp;amp; upper(FieldName($(field), '$(tableabc)')) &amp;amp; '] ';&lt;/P&gt;&lt;P&gt;NEXT field;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Feb 2019 11:51:25 GMT</pubDate>
    <dc:creator>capriconuser</dc:creator>
    <dc:date>2019-02-21T11:51:25Z</dc:date>
    <item>
      <title>Capitalize column names in table</title>
      <link>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547355#M457087</link>
      <description>&lt;P&gt;i have 10-11 tables and in each table i have columns .. also expression now&amp;nbsp; also did rename expression with label like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Salary" now i want all column names in capitalize like SALARY so this is difficult for me to look on each table and capitalize each column so is this possible to capitalize column name globally ?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 09:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547355#M457087</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2019-02-21T09:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalize column names in table</title>
      <link>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547362#M457088</link>
      <description>&lt;P&gt;use the below script from the thread may be&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/convert-column-name-to-upper-case/td-p/882695" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/convert-column-name-to-upper-case/td-p/882695&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 10:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547362#M457088</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-21T10:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalize column names in table</title>
      <link>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547381#M457089</link>
      <description>&lt;P&gt;will you please post solution here.. and secondly i dont want to do in script .. is there alternate way&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 10:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547381#M457089</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2019-02-21T10:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalize column names in table</title>
      <link>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547385#M457090</link>
      <description>&lt;P&gt;how can you capitalize the column names in UI and not in script?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please modify the script. It is copied from the script in the post above mentioned&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;Directory;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;FILE:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;file, table&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;b.xlsx, B_TABLE&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;a.xlsx, A_TABLE&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;c.xlsx,C_TABLE&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// loop and read excel files&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;for file=0 to NoOfRows('FILE')-1;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; let filename=Peek('file', $(file), 'FILE');&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; let tablename=Peek('table', $(file), 'FILE');&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; $(tablename):&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; load * from $(filename)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; (ooxml, embedded labels, table is Sheet1);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // loop on table fields to build the "rename as" for every field&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; let s = '';&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; for field=1 to NoOfFields('$(tablename)');&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; let s = '$(s)'&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; &amp;amp; if(len('$(s)')&amp;gt;0, ',' &amp;amp; chr(10), '')&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; &amp;amp; '[' &amp;amp; FieldName($(field), '$(tablename)') &amp;amp; ']'&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; &amp;amp; ' as ' &amp;amp; '[' &amp;amp; upper(FieldName($(field), '$(tablename)')) &amp;amp; '] ';&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; NEXT field;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // read table using the "rename as"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; rename table $(tablename) to TMP;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; $(tablename):&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; NoConcatenate load&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; $(s)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; Resident TMP;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; DROP Table TMP;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NEXT file;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 10:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547385#M457090</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-21T10:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalize column names in table</title>
      <link>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547413#M457091</link>
      <description>&lt;P&gt;so i have 3 + scripts so on every scripts i paste this ?&lt;/P&gt;&lt;P&gt;/ loop on table fields to build the "rename as" for every field&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; let s = '';&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; for field=1 to NoOfFields('$(tablename)');&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; let s = '$(s)'&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; &amp;amp; if(len('$(s)')&amp;gt;0, ',' &amp;amp; chr(10), '')&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; &amp;amp; '[' &amp;amp; FieldName($(field), '$(tablename)') &amp;amp; ']'&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; &amp;amp; ' as ' &amp;amp; '[' &amp;amp; upper(FieldName($(field), '$(tablename)')) &amp;amp; '] ';&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp; NEXT field;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 11:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547413#M457091</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2019-02-21T11:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalize column names in table</title>
      <link>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547419#M457092</link>
      <description>what do you mean by 3 scripts? In every app you need to use this once as per my understanding. You can see your scripts better so please take a call on that as per your requirement.&lt;BR /&gt;&lt;BR /&gt;PS. Please take back up before trying anything</description>
      <pubDate>Thu, 21 Feb 2019 11:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547419#M457092</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-21T11:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalize column names in table</title>
      <link>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547439#M457093</link>
      <description>&lt;P&gt;means i have a multiple scripts in qlikview so want to ask in each scripts i paste or this or&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6492iCD088746C7F01E68/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 11:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547439#M457093</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2019-02-21T11:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalize column names in table</title>
      <link>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547443#M457094</link>
      <description>you have to paste this one time per app and the for loop will take care of everyhting</description>
      <pubDate>Thu, 21 Feb 2019 11:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547443#M457094</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-21T11:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalize column names in table</title>
      <link>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547452#M457095</link>
      <description>&lt;P&gt;ok in the loop there is tablename so here i write my tablename or i just paste this with "tablename" text?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 11:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547452#M457095</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2019-02-21T11:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalize column names in table</title>
      <link>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547458#M457096</link>
      <description>&lt;P&gt;and this shows an error when i paste this&amp;nbsp;&lt;/P&gt;&lt;P&gt;let s = '';&lt;/P&gt;&lt;P&gt;for field=1 to NoOfFields('$(tableabc)');&lt;/P&gt;&lt;P&gt;let s = '$(s)'&lt;/P&gt;&lt;P&gt;&amp;amp; if(len('$(s)')&amp;gt;0, ',' &amp;amp; chr(10), '')&lt;/P&gt;&lt;P&gt;&amp;amp; '[' &amp;amp; FieldName($(field), '$(tableabc)') &amp;amp; ']'&lt;/P&gt;&lt;P&gt;&amp;amp; ' as ' &amp;amp; '[' &amp;amp; upper(FieldName($(field), '$(tableabc)')) &amp;amp; '] ';&lt;/P&gt;&lt;P&gt;NEXT field;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 11:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capitalize-column-names-in-table/m-p/1547458#M457096</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2019-02-21T11:51:25Z</dc:date>
    </item>
  </channel>
</rss>

