<?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: Changing values in an InputField in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-values-in-an-InputField/m-p/391484#M146027</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I don't fully understand your goal, but it sounds like it would be easier to use a trigger to set the variable to zero on opening. Have you tried that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2013 21:34:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-31T21:34:42Z</dc:date>
    <item>
      <title>Changing values in an InputField</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-values-in-an-InputField/m-p/391483#M146026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an InputField called Input1. The initial values load off of an Excel file. I'd like to link a button to a macro that will change all the values to zero. Is there a way to code that in a macro? I already know how to make them revert to the original values, but how can I force a specific value on them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 20:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-values-in-an-InputField/m-p/391483#M146026</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2013-01-31T20:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing values in an InputField</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-values-in-an-InputField/m-p/391484#M146027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I don't fully understand your goal, but it sounds like it would be easier to use a trigger to set the variable to zero on opening. Have you tried that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 21:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-values-in-an-InputField/m-p/391484#M146027</guid>
      <dc:creator />
      <dc:date>2013-01-31T21:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Changing values in an InputField</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-values-in-an-InputField/m-p/391485#M146028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi danielact,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the SetInputFieldCell or SetInputFieldValue to change the inputfield values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set fld = ActiveDocument.Fields("Budget")&lt;/P&gt;&lt;P&gt;fld.SetInputFieldValue 0, "999"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("TB01")&lt;/P&gt;&lt;P&gt;obj.SetInputFieldCell 1,1,"999"&amp;nbsp;&amp;nbsp; 'set 2nd row value in 2nd column to 999&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the Api Guide for more details. Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 21:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-values-in-an-InputField/m-p/391485#M146028</guid>
      <dc:creator>jeffmartins</dc:creator>
      <dc:date>2013-01-31T21:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Changing values in an InputField</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-values-in-an-InputField/m-p/391486#M146029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this in macro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;document--&amp;gt;trigger--&amp;gt;on post reload&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub resetinput&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dim x(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;x(0) = 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set fld = ActiveDocument.Fields("newprice")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;fld.ResetInputFieldValues 0, x&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 05:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-values-in-an-InputField/m-p/391486#M146029</guid>
      <dc:creator />
      <dc:date>2013-02-01T05:18:01Z</dc:date>
    </item>
  </channel>
</rss>

