<?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>Re: How do I connect the controls in the form to a database?</title><link>https://www.infopathdev.com:443/forums/thread/32079.aspx</link><pubDate>Tue, 09 Sep 2008 02:40:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32079</guid><dc:creator>Newb2008</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32079.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=32079</wfw:commentRss><description>&lt;p&gt;Thanks Anuma, that was the process I went through (the one in the first link) and It won&amp;#39;t let me submit data to the SQL database. I created a table in SQL, connected it to infopath 2007 and dragged the data and querry fields onto the form. I can query information already in the database (I put the info in as a test) but I cannot submit to the database.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I selected submit NOT receive when I selected a connection type, yet it changes to query type connection while going through the steps. It tells me that submit is not enable for this connection because one or more tables in the datasource do not have a primary key, index, or unique constraint.&lt;/p&gt;
&lt;p&gt;I only had one table in the database but I decided to add another and assign primary and foreign keys, but this did not help, I am still not able to submit to the database.&lt;/p&gt;</description></item><item><title>Re: How do I connect the controls in the form to a database?</title><link>https://www.infopathdev.com:443/forums/thread/32058.aspx</link><pubDate>Mon, 08 Sep 2008 07:02:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32058</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32058.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=32058</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you please verify the following links.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://articles.techrepublic.com.com/5100-22_11-5618641.html"&gt;http://articles.techrepublic.com.com/5100-22_11-5618641.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://office.microsoft.com/en-us/infopath/HP011093001033.aspx"&gt;http://office.microsoft.com/en-us/infopath/HP011093001033.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>How do I connect the controls in the form to a database?</title><link>https://www.infopathdev.com:443/forums/thread/32055.aspx</link><pubDate>Mon, 08 Sep 2008 03:43:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32055</guid><dc:creator>Newb2008</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32055.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=32055</wfw:commentRss><description>&lt;p&gt;I am trying to make a form using Microsoft InfoPath that submits its data to a SQL database so I can later query the data. When I add controls to the form, it seems to create data fields but those data fields are not connected to any database so I cannot query the information once it has been put in. It seems like all I can do is send the form to a group of people via email. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;So what I did was create a database and table in SQL and connect the application to the database. This allowed me to drag and drop the individual database fields (columns) that I created in SQL directly into the application. However, this is a cumbersome process. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Does anybody know how I can just add controls to the form and then connect that form into SQL for the purpose of submitting and querying data? Essentially what I am asking is do I have to create a database and link to the database and then add controls to the form via dragging and dropping? Can’t I just add controls to the form in the design mode and then link those controls to a database without having to create a database to begin with? &lt;/p&gt;</description></item></channel></rss>