<?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 fld.ResetInputFieldValues failed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/fld-ResetInputFieldValues-failed/m-p/285738#M708648</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;We have upgraded QlikView 10 from SR2 to SR3 recently, but since the upgrade, the following code failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sub ClearOrderPcs&lt;BR /&gt;dim x(1)&lt;BR /&gt;x(0)=0&lt;BR /&gt;set fld = ActiveDocument.Fields("OrderPcs")&lt;BR /&gt;fld.ResetInputFieldValues 0, x&lt;BR /&gt;set fld = Nothing&lt;BR /&gt;end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When opening the document, it runs this Macro to clear the order pieces field.&amp;nbsp; But it fails at fld.ResetInputFieldValues 0, x&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Joseph﻿&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>Mon, 31 Oct 2011 16:33:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-31T16:33:45Z</dc:date>
    <item>
      <title>fld.ResetInputFieldValues failed</title>
      <link>https://community.qlik.com/t5/QlikView/fld-ResetInputFieldValues-failed/m-p/285738#M708648</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;We have upgraded QlikView 10 from SR2 to SR3 recently, but since the upgrade, the following code failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sub ClearOrderPcs&lt;BR /&gt;dim x(1)&lt;BR /&gt;x(0)=0&lt;BR /&gt;set fld = ActiveDocument.Fields("OrderPcs")&lt;BR /&gt;fld.ResetInputFieldValues 0, x&lt;BR /&gt;set fld = Nothing&lt;BR /&gt;end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When opening the document, it runs this Macro to clear the order pieces field.&amp;nbsp; But it fails at fld.ResetInputFieldValues 0, x&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Joseph﻿&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>Mon, 31 Oct 2011 16:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fld-ResetInputFieldValues-failed/m-p/285738#M708648</guid>
      <dc:creator />
      <dc:date>2011-10-31T16:33:45Z</dc:date>
    </item>
  </channel>
</rss>

