<?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 values, rules or code may be running in an Infinite loop</title><link>https://www.infopathdev.com:443/forums/thread/76165.aspx</link><pubDate>Wed, 07 Mar 2012 12:48:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76165</guid><dc:creator>venkatzeus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76165.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76165</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;The column is used to find the right row index before setting a value from a lookup to the appropriate row.&amp;nbsp; I am not sure, how to tweak it to achieve the same functionality. Any help on this.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Default values, rules or code may be running in an Infinite loop</title><link>https://www.infopathdev.com:443/forums/thread/76161.aspx</link><pubDate>Wed, 07 Mar 2012 12:11:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76161</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76161.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76161</wfw:commentRss><description>&lt;p&gt;Can you use a rule instead of a default value? The rule can have a condition (such as &amp;quot;if the field is blank&amp;quot;) and this condition can be tweaker such that the rule does not run infinitely, only executing once.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Default values, rules or code may be running in an Infinite loop</title><link>https://www.infopathdev.com:443/forums/thread/76156.aspx</link><pubDate>Wed, 07 Mar 2012 05:41:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76156</guid><dc:creator>venkatzeus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76156.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76156</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I am using InfoPath 2010. In the browser enabled form, i have a repeating table and have some rules set. &lt;/p&gt;&lt;p&gt;When the number of rows inserted is more than 13, i am getting the below error:&lt;/p&gt;&lt;p&gt;&amp;quot;Default
 values, rules or code may be running in an Infinite loop. To prevent 
this, ensure that the default value, rule action or event handler does 
not update the data which causes the same rule action or event handler 
to execute&amp;quot;.&lt;/p&gt;&lt;p&gt;In the 14 root log, i am getting the below:&lt;br /&gt;03/07/2012 12:50:52.15 &amp;nbsp;&amp;nbsp;&amp;nbsp; w3wp.exe (0x277C) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 0x2C98&amp;nbsp;&amp;nbsp;&amp;nbsp; InfoPath Forms Services&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Runtime - Business Logic&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 82lj&amp;nbsp;&amp;nbsp;&amp;nbsp; Critical&amp;nbsp;&amp;nbsp;&amp;nbsp; Calculations exceeded the maximum stack depth. &lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Further analysis on the form:&lt;/p&gt;&lt;p&gt;I have a column, which has the default value set like this: count(preceding-sibling::*) + 1&lt;/p&gt;&lt;p&gt;This
 column is causing the issue. I removed the calculation on the column 
and the form loaded properly. However, this calculation is required.&lt;/p&gt;&lt;p&gt;How to change this calculation?&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How to fix this error?&lt;/p&gt;&lt;p&gt;Thank you&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;</description></item></channel></rss>