Question : This form has been closed

My InfoPath form has managed code that allows the user to send an email. In the lifecycle of this form, it passes thru 5 different form libraries. In the first library the user can call on the form to send an email and all goes smoothly: the email is sent, the form is saved back to the library and the user sees the library. The next opportunity to send an email happens in another library: the user sends the email and the form closes with no ceremony and leaves an ugly message "This form is closed". I can find no reason for the different events. I much prefer the first event. Any suggestions?

Answer : This form has been closed

I figured it out. Apparently when using managed code if the number of actions per rule is too great, InfoPath gets confused. So, I created an extra rule just to handle saving the form. Problem solved.
Random Solutions  
 
programming4us programming4us