<?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: InputField edit problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/InputField-edit-problem/m-p/283877#M583133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gregg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe this could work out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a second resident load of your currency table after you did the binary load, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUTFIELD Override; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OverrideTable:&lt;/P&gt;&lt;P&gt;LOAD * CurrencyID, USDRate as Override resident REPORT_FXRATE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you get Override linked to your data model via CurrencyID, and this has also the advantage that your Override values are preset with the rates loaded from your database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2011 11:37:14 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-10-31T11:37:14Z</dc:date>
    <item>
      <title>InputField edit problem</title>
      <link>https://community.qlik.com/t5/QlikView/InputField-edit-problem/m-p/283875#M583131</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 developing a report that requires the user to be able to override an FX Rate.&amp;nbsp; The report is split into 3 layers.&amp;nbsp; I have an extract layer that extracts the data from an Oracle database and creates the QVD files.&amp;nbsp; I have a model layer that loads all the QVD files that I need and then I have a GUI layer that displays the report.&amp;nbsp; To get the data from the model file the GUI layer just does a binary import of the model qvw.&amp;nbsp; The FX Rate table that is loaded has only 2 fields CurrencyID and USDRate.&amp;nbsp; The user needs to be able to override the USDRate so after the import of the model qvw I'm doing the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUTFIELD [Override]; &lt;/P&gt;&lt;P&gt;CONCATENATE(REPORT_FXRATE) LOAD * INLINE [ &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Override&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This correctly appends an input field to the FX Rate table which I'm displaying in a Table Box as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿﻿&lt;IMG alt="FXRate.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/8233_FXRate.JPG" /&gt;&lt;/P&gt;&lt;P&gt;The problem is when I try to enter something in the input field and move off the field the table seems to error and puts a cross over the table as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="FXRateError.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/8234_FXRateError.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what I'm doing wrong?&amp;nbsp; My gut feeling is I'm adding the Override field to the FXRate table the wrong way because if I create a simple INLINE table with data and add the INPUTFIELD to that it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;Gregg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Oct 2011 23:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/InputField-edit-problem/m-p/283875#M583131</guid>
      <dc:creator />
      <dc:date>2011-10-30T23:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: InputField edit problem</title>
      <link>https://community.qlik.com/t5/QlikView/InputField-edit-problem/m-p/283876#M583132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gregg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one problem is that your above concatenate won't add any values for field Override to your data model and&amp;nbsp; inputfield needs these values set with a select or load to use as placeholder for subsequent modification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it should look at least like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUTFIELD [Override];&lt;/P&gt;&lt;P&gt; CONCATENATE(REPORT_FXRATE) LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Override&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1.0&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have got a value, but creating a table box (or using the table viewer CTRL-T) of your table you will see that concatenation is not what you want, it just adds a row, but you don't get your new value really connected to the preexisting values for Rate and Currency, the records of your concatenated table and the original table keep being separated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use a cross product to add value in field Override to each existing record, maybe like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUTFIELD [Override];&lt;/P&gt;&lt;P&gt; JOIN (REPORT_FXRATE) LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Override&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1.0&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now the new field (and neither the other two fields) seems not to be usable as inputfield, even when I do a resident reload of the whole table.&lt;/P&gt;&lt;P&gt;Here is where I am stuck also, so I think I can explain why your approach does not work, but I can't really resolve your problem at the moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 00:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/InputField-edit-problem/m-p/283876#M583132</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-31T00:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: InputField edit problem</title>
      <link>https://community.qlik.com/t5/QlikView/InputField-edit-problem/m-p/283877#M583133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gregg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe this could work out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a second resident load of your currency table after you did the binary load, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUTFIELD Override; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OverrideTable:&lt;/P&gt;&lt;P&gt;LOAD * CurrencyID, USDRate as Override resident REPORT_FXRATE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you get Override linked to your data model via CurrencyID, and this has also the advantage that your Override values are preset with the rates loaded from your database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 11:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/InputField-edit-problem/m-p/283877#M583133</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-31T11:37:14Z</dc:date>
    </item>
    <item>
      <title>InputField edit problem</title>
      <link>https://community.qlik.com/t5/QlikView/InputField-edit-problem/m-p/283878#M583134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Stefan.&amp;nbsp; You put me on the right track.&amp;nbsp; I had to slightly change your suggestion above and reload from the qvd into a new table to get the input field to work as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUTFIELD [Override USD Rate];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[Currency ID]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;,0 as [Override USD Rate]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(QvdDirectory)\REPORT_FXRATE.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I loaded from the resident table it would not recognise the input field for some reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again I really appreciate your help.&amp;nbsp; You saved me some frustrating hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gregg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 22:34:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/InputField-edit-problem/m-p/283878#M583134</guid>
      <dc:creator />
      <dc:date>2011-10-31T22:34:15Z</dc:date>
    </item>
  </channel>
</rss>

