BUG? - A calculation in the form has not been completed

W

Wozza

I added a default value to a text box on my form, then realised that I
needed an expression box instead, so deleted the text box.

I ended up getting the following error:
"A calculation in the form has not been completed. The number of
calculations used for a single action exceeded the maximum limit."

The offending entry in the manifest.xsf was the following:

<xsf:calculations>
<xsf:calculatedField target="/PROOFPROTOCOL/AUDIT/@auditor"
expression="concat(., &quot;(&quot;, ../@auditCompany, &quot;)&quot;)"
refresh="onChange"></xsf:calculatedField>
</xsf:calculations>

After deleting this entry manually the error went away.
 
G

Greg Collins [InfoPath MVP]

Sounds like the field is updating itself using the concat() function... which once it updates itself, it tries to do it again because the value has changed.... note that refresh is "onChange". Thus it continues to try to concatenate itself until the flag is thrown to indicate an endless loop is occuring. Then it stops and gives the error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top