<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Using two different submit data connections</title><link>https://www.infopathdev.com:443/forums/thread/88421.aspx</link><pubDate>Wed, 27 Mar 2013 13:48:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88421</guid><dc:creator>Adrian Rowe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88421.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=88421</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve created a form that includes two views, Main_Form and Calculator. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;The Main_Form view uses one submit data connection to a document library which applies a file name based on the use of rules.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I used this link to see how to do that: &lt;a href="http://www.codeproject.com/Articles/37093/Submitting-an-InfoPath-Form-to-SharePoint-with-a-U"&gt;http://www.codeproject.com/Articles/37093/Submitting-an-InfoPath-Form-to-SharePoint-with-a-U&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Part way through the completion of the Main_Form users are directed to use a button to take them into the Calculator view. This only applies if they select one of the several options in a drop list. &lt;/p&gt;
&lt;p&gt;Once they have inserted the required information they need to submit the details using an email data connection. They then need to return to the Main_Form view to complete the remainder of the form and then submit it via the document library data connection.&lt;/p&gt;
&lt;p&gt;Although I can get the Main_Form to submit OK to its document library destination I&amp;#39;m not able to get the Calculator view details to submit via email.&lt;/p&gt;
&lt;p&gt;The details of the Email Submit rule are: &lt;strong&gt;Send where Income_Required is greater than 0&lt;/strong&gt;. This is because there is only a value contained in that field when the Calculator view has been used.&lt;/p&gt;
&lt;p&gt;InfoPath keeps giving an error message indicating that it wants to submit the Main_Form part of the form, not the secondary Calculator part.&lt;/p&gt;
&lt;p&gt;Your help with this situation will be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>