<?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: SQL Primary Key Issue</title><link>https://www.infopathdev.com:443/forums/thread/52206.aspx</link><pubDate>Thu, 25 Feb 2010 17:50:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52206</guid><dc:creator>oldradio99</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52206.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=52206</wfw:commentRss><description>&lt;p&gt;I found the answer digging through some of my older forms.&lt;/p&gt;
&lt;p&gt;In the new table I had not set the Primary Key as a unique identifier.&amp;nbsp; Therefore it was showing as required.&lt;/p&gt;
&lt;p&gt;By making that change in the table, the form now works as it should.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: SQL Primary Key Issue</title><link>https://www.infopathdev.com:443/forums/thread/52162.aspx</link><pubDate>Wed, 24 Feb 2010 22:57:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52162</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52162.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=52162</wfw:commentRss><description>&lt;p&gt;Interesting! Perhaps you could submit via rules? Then, if the form is approved, the first rule would be to clear the dummy number out of the ID field, the next would submit to the SQL data connection, etc?&lt;/p&gt;</description></item><item><title>SQL Primary Key Issue</title><link>https://www.infopathdev.com:443/forums/thread/52143.aspx</link><pubDate>Wed, 24 Feb 2010 19:43:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52143</guid><dc:creator>oldradio99</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52143.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=52143</wfw:commentRss><description>&lt;p&gt;I think something like this has been addressed before but I cant find it in the history.&lt;/p&gt;
&lt;p&gt;I have a form connected to a SQL table and as we all know, the table must have a unique&amp;nbsp;Primary Key to allow the submit function.&lt;/p&gt;
&lt;p&gt;My form collects data, submits via email to a manager and upon approval, writes to the SQL table.&amp;nbsp; Sound simple?&amp;nbsp; Not!&lt;/p&gt;
&lt;p&gt;The initial view rejects because there is no data in the Primary Key and IP/SQL set that as required field.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Do I just put in a dummy temporary number as a default value?&amp;nbsp; But if I do that, how do I remove it so that the SQL table can set a truly unique ID?&lt;/p&gt;
&lt;p&gt;Have I confused everyone?&amp;nbsp; I know I am.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>