<?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: Submit selection does not include database</title><link>https://www.infopathdev.com:443/forums/thread/17209.aspx</link><pubDate>Wed, 08 Feb 2006 16:58:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17209</guid><dc:creator>janicethorne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17209.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17209</wfw:commentRss><description>Could my problem be due to not having a primary key specified? The only primary key I am using is an autonumber, which I don't know how to replicate in the form. I am not sure that I can use a primary key in this database, since it is just designed to tabulate information, not to record unique information. Any suggestions?&lt;br /&gt;&lt;br /&gt;~If you don't have time to do it right the first time, when will you have time to fix it?~</description></item><item><title>Re: Submit selection does not include database</title><link>https://www.infopathdev.com:443/forums/thread/17208.aspx</link><pubDate>Wed, 08 Feb 2006 14:35:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17208</guid><dc:creator>janicethorne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17208</wfw:commentRss><description>Matt:&lt;br /&gt;&lt;br /&gt;I am currently on SP2. I tried to use the New Record button to submit back to the database but it doesn't submit anything. Do I need to put something in the button to make it do this? If so, what? (This seemed like such a simple project.)&lt;br /&gt;&lt;br /&gt;Sorry to be such a pain - no money in the budget for training. thanks for all of your help.&lt;br /&gt;&lt;br /&gt;~If you don't have time to do it right the first time, when will you have time to fix it?~</description></item><item><title>Re: Submit selection does not include database</title><link>https://www.infopathdev.com:443/forums/thread/17207.aspx</link><pubDate>Wed, 08 Feb 2006 14:28:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17207</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17207</wfw:commentRss><description>It might be a difference in service pack versions - what service pack are you running now?&lt;br /&gt;&lt;br /&gt;Yes, you can add another New Record button in. Just add a regular button, double-click it, choose New Record from the Action drop-down list, and then click OK.&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Re: Submit selection does not include database</title><link>https://www.infopathdev.com:443/forums/thread/17206.aspx</link><pubDate>Wed, 08 Feb 2006 13:45:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17206</guid><dc:creator>janicethorne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17206.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17206</wfw:commentRss><description>Matt:&lt;br /&gt;&lt;br /&gt;Honestly, I am not sure what happened. I had created a form about three months ago and was able to create a Submit to Database button. When I created a new form yesterday, the option to submit to database was not available. I didn't do anything differently than before. &lt;br /&gt;&lt;br /&gt;Regarding your reply, I deleted that button from the form not knowing  Can it be recreated?&lt;br /&gt;&lt;br /&gt;~If you don't have time to do it right the first time, when will you have time to fix it?~</description></item><item><title>Re: Submit selection does not include database</title><link>https://www.infopathdev.com:443/forums/thread/17205.aspx</link><pubDate>Wed, 08 Feb 2006 08:07:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17205</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17205.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17205</wfw:commentRss><description>To write to a database only using InfoPath you will have to make the database a data connection on the Main DOM. Do this by choosing Design a From from Data Connection when you make a new form.&lt;br /&gt;&lt;br /&gt;The view that is automatically generated included a button called New Record and you can use this button to insert new records into the database.&lt;br /&gt;&lt;br /&gt;Could you explain a little further your situation? What is different between the forms you had working and the forms you are working on now?&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Submit selection does not include database</title><link>https://www.infopathdev.com:443/forums/thread/16781.aspx</link><pubDate>Tue, 07 Feb 2006 21:53:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16781</guid><dc:creator>janicethorne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16781.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=16781</wfw:commentRss><description>I saw a post from 1/17 by MFaus that stated "You don't have to use web services, but you will have to use code. Setup your database data connection to receive data and you will still be able to write to it using XDocument.GetDOM( "NameOfDataBaseConnection" ). Once the database is linked in as a secondary data source it can be accessed very similiarly to how you access a XML data source." &lt;br /&gt;&lt;br /&gt;I am having the same trouble as the user he replied to did and don't know what to do, but I know that the above statement is over my head.  I am a newbie and need more detailed information as to what to do to connect my form back to the database to dump my data. Can you help? I have no knowledge of XML, but I follow instruction pretty well. &lt;br /&gt;&lt;br /&gt;The weird thing is, I had used Submit to Database before in other forms I had created, so I am perplexed as to why this no longer shows up in my new form. Is there a way to go back to the way it was? I usually like change, but.....&lt;br /&gt;&lt;br /&gt;I appreciate any help you can give me.&lt;br /&gt;&lt;br /&gt;Janice&lt;br /&gt;&lt;br /&gt;~If you don't have time to do it right the first time, when will you have time to fix it?~</description></item></channel></rss>