<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Hide/Show section 'resests' calculations!?!</title><link>https://www.infopathdev.com:443/forums/thread/106293.aspx</link><pubDate>Fri, 22 Apr 2016 12:22:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106293</guid><dc:creator>dkjadasc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106293.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=106293</wfw:commentRss><description>&lt;p&gt;You are on to something, I however managed to solve it with a variance of this;&lt;br /&gt;Re-cald should be active, otherwise X is not upadted when A+B change (this part works fine). However when hide/show of a section somewhere for some reson resets the calculation of X it therby changes X (not A or B).&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Therefore I made a rule on X that when this field is changed, it is updated to A+B! thus an update in A or B will still result in X = A+B, furthermore the &amp;#39;reset&amp;#39; of X simply trickers and instant updatet of X, so it is agan = A+B.&lt;/p&gt;</description></item><item><title>Re: Hide/Show section 'resests' calculations!?!</title><link>https://www.infopathdev.com:443/forums/thread/106219.aspx</link><pubDate>Mon, 18 Apr 2016 13:36:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106219</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106219.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=106219</wfw:commentRss><description>&lt;p&gt;Hi Jan,&lt;/p&gt;&lt;p&gt;Have you tried&amp;nbsp;&amp;nbsp;using a rule in the form? You say data source, but that suggests you are using something in the list settings. Default value always runs - you can disable recalc on it. That might be worth trying. Otherwise, just add a rule to Field A and Field B that updates Field X by setting it equal to A+B. It will only fire when one of those fields changes.&lt;/p&gt;&lt;p&gt;Good luck!&amp;nbsp;&lt;/p&gt;</description></item><item><title>Hide/Show section 'resests' calculations!?!</title><link>https://www.infopathdev.com:443/forums/thread/106087.aspx</link><pubDate>Sat, 09 Apr 2016 07:43:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106087</guid><dc:creator>dkjadasc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=106087</wfw:commentRss><description>&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;mso-ansi-language:EN-US;"&gt;I have a SharePoint list&amp;nbsp;with &amp;#39;MasterData&amp;#39;
on&amp;nbsp;the projects in our organization and I am using InfoPath 2013 to
improve the user experience of the data input.&lt;br /&gt;
The issue&amp;nbsp;is&amp;nbsp;that&amp;nbsp;&lt;strong&gt;&lt;span&gt;when
I make a selection that makes the input form show or hide a section of the
form,&amp;nbsp;then&amp;nbsp;calculated fields that have new data input in same update
session are &amp;#39;reset&amp;#39; to the value of when it was saved&lt;/span&gt;&lt;/strong&gt;, when the
form is saved and closed the calculation reflects the new input.&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;mso-ansi-language:EN-US;"&gt;E.G.&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;mso-ansi-language:EN-US;"&gt;Field_A = 100&lt;br /&gt;
Field_B = 150&lt;br /&gt;
Field_X&amp;nbsp;= Field_A + Field_B = 250&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;mso-ansi-language:EN-US;"&gt;IF &amp;#39;A&amp;#39; is changed to 200, then &amp;#39;X&amp;#39; is updated
correctly to&amp;nbsp;350, however if I somewhere else change a&amp;nbsp;different
field that via a&amp;nbsp;rule&amp;nbsp;trickers&amp;nbsp;that a&amp;nbsp;section is show/hidden,
then&amp;nbsp;field X is again &amp;#39;reset&amp;#39; and&amp;nbsp;shown as 250 ?? &lt;br /&gt;
While after saving the form, &amp;#39;X&amp;#39; is again reflected as 350 This is obviously
quite confusing for the user during input (and I do &lt;u&gt;not &lt;/u&gt;want the form to
save every time a field is changed) &lt;br /&gt;
(I have tried to have the &amp;#39;calculation&amp;#39; both as &amp;quot;data source&amp;quot; and
&amp;quot;default value&amp;quot; but with same result)&lt;br /&gt;
----&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;mso-ansi-language:EN-US;"&gt;I am considering&amp;nbsp;that all fields&amp;nbsp;that
tricker a section to show/hide could have a rule that force them to update the
value of X, however before testing if works this I would like you take on this
as it seems like a heavy workaround to an issue that possibly have a much
simpler solution.&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;em&gt;&lt;span style="font-size:10pt;mso-ansi-language:EN-US;"&gt;N.B.&lt;/span&gt;&lt;/em&gt;&lt;i&gt;&lt;span style="font-size:10pt;mso-ansi-language:EN-US;"&gt;&lt;br /&gt;
&lt;em&gt;&lt;span&gt;I have several calculations like
this, so in total&amp;nbsp;I have around 8&amp;nbsp;X&amp;#39;s that reset...&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:10pt;mso-ansi-language:EN-US;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for the support&lt;br /&gt;/Jan&amp;nbsp;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;</description></item></channel></rss>