<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Two connections to Sql Server</title><link>https://www.infopathdev.com:443/forums/thread/26498.aspx</link><pubDate>Fri, 15 Feb 2008 15:12:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26498</guid><dc:creator>AlphaCity7</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26498.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=26498</wfw:commentRss><description>&lt;p&gt;Thank you so much Clay for your speedy reply, I will certainly email you.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Two connections to Sql Server</title><link>https://www.infopathdev.com:443/forums/thread/26495.aspx</link><pubDate>Fri, 15 Feb 2008 14:45:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26495</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26495.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=26495</wfw:commentRss><description>&lt;p&gt;Hey There and Welcome to the forum.&lt;/p&gt;
&lt;p&gt;Standard InfoPath database forms are limited as you are finding out. You can have only one data connection which can be queried and submitted to among other things.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;However you have come to the right place.&amp;nbsp; We have a web services package that will do what you are looking for and has been used in many similar solutions. It even has the workflow you are looking for.&lt;/p&gt;
&lt;p&gt;Use&amp;nbsp;the contact button to send me an email and I can show you how it works.&lt;/p&gt;</description></item><item><title>Two connections to Sql Server</title><link>https://www.infopathdev.com:443/forums/thread/26493.aspx</link><pubDate>Fri, 15 Feb 2008 14:38:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26493</guid><dc:creator>AlphaCity7</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26493.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=26493</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I&amp;#39;m very new to InfoPath and to this forum (and to programming come to think of it!!!) so I apologies if my questions have been answered already. I&amp;#39;m having difficulties with a project I have been given, so I&amp;#39;ll explain the basics of the project then will go through the numerous issues I have. I don&amp;#39;t intend on using code yet, though if needs be, I can only do it in VB script.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am creating an &lt;b&gt;InfoPath 2007&lt;/b&gt; form connected to a &lt;b&gt;Sql Server 2005 database&lt;/b&gt;. There are 2 tables (A and B) in Sql Server (they are in a different schema or database, not sure which yet, don&amp;#39;t know if that makes a difference). Table A has information on invoices. The form queries this table. The user then updates these records adding in some additional information. The form then needs to submit every field to Table B in Sql Server. Seems quite straightforward to me, but putting it into practise has caused problems.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;My issues:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have created the main data connection to Table B with submitting option checked. That is fine. I then make a secondary connection to Table A set to receive data. So now there are two connections to the Sql db. But I don&amp;#39;t really know where to go from here. I am unable to query the secondary data source (there are only datafields, not sure how to incorporate these into the form to get the desired results), and even if I do, I am unable to then submit these queried fields into Table B. The reason being I don&amp;#39;t know how to.&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Is it feasible to query a secondary Sql Server db (Table A)?&lt;/li&gt;&lt;li&gt;Can I submit these queried fields into a new db (Table B)?&lt;/li&gt;&lt;li&gt;&lt;u&gt;How is all this done?&lt;/u&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;The project gets more complicated after this (like managerial approval) but I just want to focus on these problems first not to jump ahead.&lt;br /&gt;&lt;p&gt;As I said, I&amp;#39;m sure these have been answered so apologies again, but I must stress how new all this is to me.&lt;/p&gt;&lt;p&gt;Look forward to reading your responses.&lt;/p&gt;</description></item></channel></rss>