<?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: Composite key in data table  - Using INFOPATH</title><link>https://www.infopathdev.com:443/forums/thread/48446.aspx</link><pubDate>Fri, 30 Oct 2009 23:26:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48446</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48446</wfw:commentRss><description>&lt;p&gt;Hi--&lt;/p&gt;
&lt;p&gt;This can be done. You just need to first create a primary key on your table, then set that primary key to be a composite, by using more than one column. At that point, submit will be enabled in InfoPath. &lt;/p&gt;
&lt;p&gt;I first tested by creating a composite key without setting a primary key first, and had the same issue of submit being disabled. When I removed that key, set one field as the PK, then edited the PK to use an additional column, I had a composite primary, and InfoPath was fine with that.&lt;/p&gt;</description></item><item><title>Composite key in data table  - Using INFOPATH</title><link>https://www.infopathdev.com:443/forums/thread/48263.aspx</link><pubDate>Tue, 27 Oct 2009 09:37:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48263</guid><dc:creator>KidCarson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48263.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48263</wfw:commentRss><description>&lt;p&gt;I am trying to insert data into sql table using Infopath 2007. Can I use composite keys in database? As soon as I create composite key and refresh connection in Infopath, submit is disabled. Does anyone have some expirince about this problem. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;&lt;p&gt;&lt;img alt="" /&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img alt="" /&gt;&lt;/p&gt;&lt;img alt="" /&gt;</description></item></channel></rss>