<?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: Disable inputfield in a table for past months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992195#M338024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand what you are trying to do much better but as swuehl said, I do not believe you can change a dimesnion in that manner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some other options might be is to when you write out your data, you can do the check at tht point or there are more advanced extension objects that handle updating of fields, but that is updating the source of the data (the extensions are from KT Labs - )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Dec 2015 16:49:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-28T16:49:36Z</dc:date>
    <item>
      <title>Disable inputfield in a table for past months</title>
      <link>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992188#M338017</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;I have a table of sales with customer, item, month and quantity.&lt;/P&gt;&lt;P&gt;I setted the quantity to be an input field in order to let the user to input some values, and this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I would like to let the user to modify the quantity only for the future months, and the past months should be a readonly field.&lt;/P&gt;&lt;P&gt;I tried to do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14513096667151007" jivemacro_uid="_14513096667151007"&gt;
&lt;P&gt;if (&lt;/P&gt;
&lt;P&gt;&amp;nbsp; month_id &amp;gt;= Year(Today())*100+Month(Today())&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , InputSum ( forecast_qty_SIM )&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the field is always in read only.&lt;/P&gt;&lt;P&gt;(I have already checked the condition and it is correct)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 13:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992188#M338017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-28T13:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Disable inputfield in a table for past months</title>
      <link>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992189#M338018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the value of month id - in the coce you provided above, the expression Year(Today())*&lt;SPAN class="number"&gt;100&lt;/SPAN&gt;+Month(Today()) will result in the value of 201512?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you may need to put parenthesis around either side of the '*' but the number comes out very high&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()))*(100+&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;what date or value are you expecting???&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 15:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992189#M338018</guid>
      <dc:creator />
      <dc:date>2015-12-28T15:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Disable inputfield in a table for past months</title>
      <link>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992190#M338019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;year(today()) * 100 = 210500?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 15:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992190#M338019</guid>
      <dc:creator />
      <dc:date>2015-12-28T15:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Disable inputfield in a table for past months</title>
      <link>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992191#M338020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;P&gt;month_id field is in the format &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;YYYYMM and the condition "Year(Today())*100+Month(Today())" returns the data in the same format (es. 201512).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is: how can I set the future month with the inputfield, and past months without it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 15:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992191#M338020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-28T15:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Disable inputfield in a table for past months</title>
      <link>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992192#M338021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you supply a,list of month_id values that are in your applciaiton.&amp;nbsp; It looks like you are comparing 2 YYYYMM fields to each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you tried having both fields in the num format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post a sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 15:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992192#M338021</guid>
      <dc:creator />
      <dc:date>2015-12-28T15:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Disable inputfield in a table for past months</title>
      <link>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992193#M338022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adam, the issue is not on the date condition (it works, I am sure about this).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is how to set a field to be input field in some conditions, and to be a read only field in other condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my example the condition was based on the month, but it could be based also on the customer, or on the item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 15:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992193#M338022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-28T15:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Disable inputfield in a table for past months</title>
      <link>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992194#M338023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can enable / disable the input field per dimension value at all using a conditional &lt;/P&gt;&lt;P&gt;Have you seen a demo showing this somewhere?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 16:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992194#M338023</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-28T16:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Disable inputfield in a table for past months</title>
      <link>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992195#M338024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand what you are trying to do much better but as swuehl said, I do not believe you can change a dimesnion in that manner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some other options might be is to when you write out your data, you can do the check at tht point or there are more advanced extension objects that handle updating of fields, but that is updating the source of the data (the extensions are from KT Labs - )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 16:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Disable-inputfield-in-a-table-for-past-months/m-p/992195#M338024</guid>
      <dc:creator />
      <dc:date>2015-12-28T16:49:36Z</dc:date>
    </item>
  </channel>
</rss>

