<?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: Clear/Reset the InputField columns to Default/Zero- Possible? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68606#M11284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While exploring, I got to know that this Macro can help - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sub reset&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set fld = ActiveDocument.Fields(&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;"inputtable"&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fld.ResetInputFieldValues &lt;SPAN class="number" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;0, x &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;end sub&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;I will test this for sure, but not sure if that will work on AJAX mode browsers. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2018 07:56:51 GMT</pubDate>
    <dc:creator>dmohanty</dc:creator>
    <dc:date>2018-04-20T07:56:51Z</dc:date>
    <item>
      <title>Clear/Reset the InputField columns to Default/Zero- Possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68604#M11282</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;&lt;/P&gt;&lt;P&gt;I have an InputField Inline Table in Script, like this below - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InfuptField Start, End, Duration;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Start, End, Duration&lt;/P&gt;&lt;P&gt;0, 0, 0&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;0, 0, 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;0, 0, 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;0, 0, 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;0, 0, 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;0, 0, 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;User can enter their desired values in the Table and see their calculations in report.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Is there any Button Action to clear/reset the InputField columns back to their default state (or Zeros in this case)?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Please provide any suggestions to achieve this. &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 06:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68604#M11282</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2018-04-20T06:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Clear/Reset the InputField columns to Default/Zero- Possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68605#M11283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Y&lt;/STRONG&gt;ou can do it with a a button and a macro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 07:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68605#M11283</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-04-20T07:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Clear/Reset the InputField columns to Default/Zero- Possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68606#M11284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While exploring, I got to know that this Macro can help - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sub reset&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set fld = ActiveDocument.Fields(&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;"inputtable"&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fld.ResetInputFieldValues &lt;SPAN class="number" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;0, x &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;end sub&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;I will test this for sure, but not sure if that will work on AJAX mode browsers. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 07:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68606#M11284</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2018-04-20T07:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Clear/Reset the InputField columns to Default/Zero- Possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68607#M11285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this VBScript to use in Macro to reset the values and its working well in Chrome, Firefox, IE. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, I also want to convert this into a JScript - Could you please help? &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;sub Reset&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set obj = ActiveDocument.Fields("Low")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Obj.ResetInputFieldValues 0, x &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set obj = ActiveDocument.Fields("High")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Obj.ResetInputFieldValues 0, x &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set obj = ActiveDocument.Fields("Percent")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Obj.ResetInputFieldValues 0, x &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;end sub&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 09:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68607#M11285</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2018-04-23T09:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Clear/Reset the InputField columns to Default/Zero- Possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68608#M11286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;function reset() {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var obj = ActiveDocument.Fields('Low');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var r = obj.ResetInputFieldValues(0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var obj = ActiveDocument.Fields('High');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.ResetInputFieldValues(0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var obj = ActiveDocument.Fields('Percent');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.ResetInputFieldValues(0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 11:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68608#M11286</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-04-23T11:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Clear/Reset the InputField columns to Default/Zero- Possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68609#M11287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. This works well too in AJAX. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 05:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68609#M11287</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2018-04-24T05:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Clear/Reset the InputField columns to Default/Zero- Possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68610#M11288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should right click on the input column in the table then select&amp;nbsp; RestoreValue -&amp;gt;Restore All Value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2018 14:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Reset-the-InputField-columns-to-Default-Zero-Possible/m-p/68610#M11288</guid>
      <dc:creator>jafari_ervin</dc:creator>
      <dc:date>2018-10-28T14:38:49Z</dc:date>
    </item>
  </channel>
</rss>

