<?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 Functionality Lost in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Functionality-Lost/m-p/1350645#M415174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a model where I have "What If" analysis built into it.&amp;nbsp; I use the following variables defined as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;INPUTFIELD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;SPAN style="color: #800000;"&gt;vPCT&lt;/SPAN&gt;;&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;INPUTFIELD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;vDollars&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;After I publish the model it works fine on the entire model, but when I distribute it by Office I loose the ability to enter data and do the what-if calculation.&amp;nbsp; I run the following macro to initialize the input fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub updateRatePct&lt;BR /&gt; &lt;BR /&gt; set fld = ActiveDocument.Fields("vPCT")&lt;BR /&gt; &lt;BR /&gt; fld.ResetInputFieldValues 0&lt;BR /&gt; &lt;BR /&gt; set fld = ActiveDocument.Fields("vDollars")&lt;BR /&gt; &lt;BR /&gt; fld.ResetInputFieldValues 0&lt;BR /&gt; &lt;BR /&gt; end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jun 2017 12:05:29 GMT</pubDate>
    <dc:creator>tmumaw</dc:creator>
    <dc:date>2017-06-23T12:05:29Z</dc:date>
    <item>
      <title>Functionality Lost</title>
      <link>https://community.qlik.com/t5/QlikView/Functionality-Lost/m-p/1350645#M415174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a model where I have "What If" analysis built into it.&amp;nbsp; I use the following variables defined as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;INPUTFIELD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;SPAN style="color: #800000;"&gt;vPCT&lt;/SPAN&gt;;&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;INPUTFIELD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;vDollars&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;After I publish the model it works fine on the entire model, but when I distribute it by Office I loose the ability to enter data and do the what-if calculation.&amp;nbsp; I run the following macro to initialize the input fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub updateRatePct&lt;BR /&gt; &lt;BR /&gt; set fld = ActiveDocument.Fields("vPCT")&lt;BR /&gt; &lt;BR /&gt; fld.ResetInputFieldValues 0&lt;BR /&gt; &lt;BR /&gt; set fld = ActiveDocument.Fields("vDollars")&lt;BR /&gt; &lt;BR /&gt; fld.ResetInputFieldValues 0&lt;BR /&gt; &lt;BR /&gt; end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 12:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Functionality-Lost/m-p/1350645#M415174</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2017-06-23T12:05:29Z</dc:date>
    </item>
  </channel>
</rss>

