<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Default Value calculation causing "exceeded number of calculations for action" error.</title><link>https://www.infopathdev.com:443/forums/thread/89247.aspx</link><pubDate>Thu, 25 Apr 2013 18:43:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89247</guid><dc:creator>Shrout1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89247</wfw:commentRss><description>&lt;p&gt;I realize that this topic is quite old, but can anyone futher expand upong the concept of &amp;quot;decoupling sum calculation and sum visualization&amp;quot;? Does this mean that I create one field that is not displayed on the form and then reference it in the field that *is* displayed? I&amp;#39;ve looked at Alec&amp;#39;s blog - very interesting stuff - but I still feel quite in the dark.&lt;/p&gt;</description></item><item><title>Re: Default Value calculation causing "exceeded number of calculations for action" error.</title><link>https://www.infopathdev.com:443/forums/thread/64216.aspx</link><pubDate>Tue, 15 Feb 2011 20:10:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64216</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64216.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64216</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;Well I&amp;#39;ll be darned.&amp;nbsp; That was the trick.&amp;nbsp; I never &amp;quot;decoupled calculation and visualization&amp;quot; in a form before.&amp;nbsp; Never even realized that was an option.&amp;nbsp; I learn something new everyday . . .</description></item><item><title>Re: Default Value calculation causing "exceeded number of calculations for action" error.</title><link>https://www.infopathdev.com:443/forums/thread/64212.aspx</link><pubDate>Tue, 15 Feb 2011 17:14:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64212</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64212.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64212</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Alec Pojidaev:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;You have to decouple sum calculation and sum visualization. Use expression box to visualize instead&amp;nbsp;of field value. Assign sum field value on Save/Submt events.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp; I will try that.&amp;nbsp; I&amp;#39;ll let you know how it works.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Default Value calculation causing "exceeded number of calculations for action" error.</title><link>https://www.infopathdev.com:443/forums/thread/64210.aspx</link><pubDate>Tue, 15 Feb 2011 17:03:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64210</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64210.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64210</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s another thing I noticed.&amp;nbsp; It only gives me the error when it has to sum odd numbers.&amp;nbsp; Even numbers work just fine.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Default Value calculation causing "exceeded number of calculations for action" error.</title><link>https://www.infopathdev.com:443/forums/thread/64208.aspx</link><pubDate>Tue, 15 Feb 2011 16:58:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64208</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64208</wfw:commentRss><description>&lt;p&gt;You have to decouple sum calculation and sum visualization. Use expression box to visualize instead&amp;nbsp;of field value. Assign sum field value on Save/Submt events.&lt;/p&gt;</description></item><item><title>Re: Default Value calculation causing "exceeded number of calculations for action" error.</title><link>https://www.infopathdev.com:443/forums/thread/64197.aspx</link><pubDate>Tue, 15 Feb 2011 14:46:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64197</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64197.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64197</wfw:commentRss><description>&lt;p&gt;It appears the form I attached didn&amp;#39;t have the default value to sum the repeating table set.&amp;nbsp; I&amp;#39;ve attached it again.&amp;nbsp; You&amp;#39;ll notice that I get the error about every 4th time the calculation is refreshed.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Default Value calculation causing "exceeded number of calculations for action" error.</title><link>https://www.infopathdev.com:443/forums/thread/64195.aspx</link><pubDate>Tue, 15 Feb 2011 12:48:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64195</guid><dc:creator>tafavorite</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64195.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64195</wfw:commentRss><description>&lt;p&gt;I have not gotten your problem as you described. I have ran it about 4 times now and pluged in 3 - 5 rows of different dates. So, not sure why your getting an error. Hopefully someone might have a better understanding to your problem.&lt;/p&gt;</description></item><item><title>Default Value calculation causing "exceeded number of calculations for action" error.</title><link>https://www.infopathdev.com:443/forums/thread/64191.aspx</link><pubDate>Mon, 14 Feb 2011 23:12:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64191</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64191</wfw:commentRss><description>&lt;p&gt;I have a repeating table in a form that has 2 date pickers, and a field displaying a date difference that I got from this wonderful blog &lt;a href="http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/"&gt;http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/&lt;/a&gt;&amp;nbsp;(shows how to calculate the difference between days excluding work and holidays).&lt;/p&gt;
&lt;p&gt;In the footer of the repeating table, I need to sum the total days from the date difference, so I used a default value of sum(totalworkdays).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;When previewing, this only works HALF the time.&amp;nbsp; The other half I get the error &amp;quot;A calculation in the form has not been completed.&amp;nbsp; The number of calculations used for a single action exceeded the maximum limit.&amp;quot;.&amp;nbsp; Of course, I have the &amp;quot;refresh value when formula is recalculated&amp;quot; option checked, because I NEED it to be recalculated.&lt;/p&gt;
&lt;p&gt;I have attached the form.&amp;nbsp; Please let me know if you see any obvious problems.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;It&amp;#39;s wierd that it only happens HALF the time.&amp;nbsp; When I uncheck the refresh value box, it works no problem.&amp;nbsp; It just doesn&amp;#39;t refresh.&amp;nbsp; ; )&lt;/p&gt;</description></item></channel></rss>