<?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: The number of calculations used for a single action exceeded the maximum limit</title><link>https://www.infopathdev.com:443/forums/thread/60561.aspx</link><pubDate>Thu, 21 Oct 2010 08:59:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60561</guid><dc:creator>Dremandred</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60561.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=60561</wfw:commentRss><description>&lt;p&gt;Hi Jimmy&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for your response, I have read that the error means that a rule is being fired repeatedly and I can see it is but I don&amp;#39;t understand why or how I can avoid it. This only ever occurs when there&amp;#39;s a carriage return / line feed in the text box. It&amp;#39;s also very easy to replicate.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Add a text box to a new InfoPath form, enabling the Multi line property.&lt;/p&gt;&lt;p&gt;Add translate(., &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;) to the formula property.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Preview and enter text with a Carriage return/ line feed and some more text, you should get the error when the field losses focus.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This error will also occur if you remove the formula and insert the following JScript code in the text box&amp;#39;s after_change event.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;var value = XDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:field1&amp;quot;).text;
	&lt;/p&gt;&lt;p&gt;value.toUpperCase();
&lt;/p&gt;&lt;p&gt;	XDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:field1&amp;quot;).text = value; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Seems very weird to me :)&lt;br /&gt;&lt;br /&gt;I guess I may have to split the text box into separate fields which is a bit annoying!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: The number of calculations used for a single action exceeded the maximum limit</title><link>https://www.infopathdev.com:443/forums/thread/60532.aspx</link><pubDate>Wed, 20 Oct 2010 16:18:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60532</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60532.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=60532</wfw:commentRss><description>&lt;p&gt;The error indicates that some chain of events is causing a rule on your form to fire over and over, not just because it has a problem with new lines.&amp;nbsp; Try to figure out what could be causing the rule to fire over and over, and find a stop condition, or a way to set the field&amp;#39;s value in a manner that doesn&amp;#39;t cause that.&lt;/p&gt;</description></item><item><title>The number of calculations used for a single action exceeded the maximum limit</title><link>https://www.infopathdev.com:443/forums/thread/60529.aspx</link><pubDate>Wed, 20 Oct 2010 15:26:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60529</guid><dc:creator>Dremandred</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=60529</wfw:commentRss><description>&lt;p&gt;I have an multi line address field in my form, which I would like to convert to upper case.&lt;/p&gt;&lt;p&gt;the formula is: translate(AddressField, &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;However if it doesn&amp;#39;t seem to like the enter button (CR/LF) and throws the warning: &amp;quot;A calculation in the form has not been completed. The number of calculations used for a single action exceeded the maximum limit.&amp;quot; and then converts the letters to uppercase.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there anyway I can get InfoPath to ignore this issue.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;&lt;p&gt;Dremandred. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>