<?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 Fieldname() function causing trouble - was working already in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fieldname-function-causing-trouble-was-working-already/m-p/840056#M295234</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 am just building an app that is actually like one I had already, only based on a new list with a new layout.&lt;/P&gt;&lt;P&gt;The columns in this list are fixed up to column 36 (AJ) which is labeled "Betriebsstunden April 2015".&lt;/P&gt;&lt;P&gt;At this point, one new column will be added every month -&amp;gt; there will be 8 more coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a loop (that I had in the old vrs. and that was working fine there) that does the following:&lt;/P&gt;&lt;P&gt;- All the columns from 36 to 44 (8 more months to go) are parsed.&lt;/P&gt;&lt;P&gt;- Each one is assigned a fieldname (using that function in QlikView) like &amp;gt;v_field_37&amp;lt;&lt;/P&gt;&lt;P&gt;- Depending on the fieldname, it is assigned one of two alias_names&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - either &amp;gt; dummy_37 &amp;lt; (if there is no relevant data)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - or sth. like &amp;gt; BS_May_15 &amp;lt; (if there is)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, now the fieldname() function (which I wrap into square brackets, like&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; chr&lt;SPAN style="font-size: 8pt;"&gt;(91)&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Fieldname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'Masterliste_Stapler_64')&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(93) &amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;returns an empty string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt; The remainder of the loop of course cannot work correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The field nr. 37 would be labeled &amp;gt;&amp;gt; operating hours &amp;lt;&amp;lt;, so the square brackets should do, no?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Can someone help me here? It used to work just like that, so I'm a bit dumbfounded now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;DataNibbler&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2015 10:18:56 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-04-28T10:18:56Z</dc:date>
    <item>
      <title>Fieldname() function causing trouble - was working already</title>
      <link>https://community.qlik.com/t5/QlikView/Fieldname-function-causing-trouble-was-working-already/m-p/840056#M295234</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 am just building an app that is actually like one I had already, only based on a new list with a new layout.&lt;/P&gt;&lt;P&gt;The columns in this list are fixed up to column 36 (AJ) which is labeled "Betriebsstunden April 2015".&lt;/P&gt;&lt;P&gt;At this point, one new column will be added every month -&amp;gt; there will be 8 more coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a loop (that I had in the old vrs. and that was working fine there) that does the following:&lt;/P&gt;&lt;P&gt;- All the columns from 36 to 44 (8 more months to go) are parsed.&lt;/P&gt;&lt;P&gt;- Each one is assigned a fieldname (using that function in QlikView) like &amp;gt;v_field_37&amp;lt;&lt;/P&gt;&lt;P&gt;- Depending on the fieldname, it is assigned one of two alias_names&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - either &amp;gt; dummy_37 &amp;lt; (if there is no relevant data)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - or sth. like &amp;gt; BS_May_15 &amp;lt; (if there is)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, now the fieldname() function (which I wrap into square brackets, like&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; chr&lt;SPAN style="font-size: 8pt;"&gt;(91)&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Fieldname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'Masterliste_Stapler_64')&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(93) &amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;returns an empty string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt; The remainder of the loop of course cannot work correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The field nr. 37 would be labeled &amp;gt;&amp;gt; operating hours &amp;lt;&amp;lt;, so the square brackets should do, no?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Can someone help me here? It used to work just like that, so I'm a bit dumbfounded now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;DataNibbler&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 10:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fieldname-function-causing-trouble-was-working-already/m-p/840056#M295234</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-04-28T10:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Fieldname() function causing trouble - was working already</title>
      <link>https://community.qlik.com/t5/QlikView/Fieldname-function-causing-trouble-was-working-already/m-p/840057#M295235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is done &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I compared what I have now to my old code and realized I have to load all the column_headers first.&lt;/P&gt;&lt;P&gt;Easy once you have found out - like Columbus'&amp;nbsp; egg &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 10:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fieldname-function-causing-trouble-was-working-already/m-p/840057#M295235</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-04-28T10:26:59Z</dc:date>
    </item>
  </channel>
</rss>

