<?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: InfoPath Bug? - Infopath Database Template - Erroneous update of row items - Duplicate Items Created (Overwriting)</title><link>https://www.infopathdev.com:443/forums/thread/86754.aspx</link><pubDate>Tue, 05 Feb 2013 19:52:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86754</guid><dc:creator>damnItHarsh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86754</wfw:commentRss><description>&lt;p&gt;Cool. Thanks again, Hilary. Marking your earlier response as the answer. Great day ahead :)&lt;/p&gt;&lt;p&gt;Cheers!&lt;br /&gt;Harsh&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: InfoPath Bug? - Infopath Database Template - Erroneous update of row items - Duplicate Items Created (Overwriting)</title><link>https://www.infopathdev.com:443/forums/thread/86753.aspx</link><pubDate>Tue, 05 Feb 2013 19:49:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86753</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86753.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86753</wfw:commentRss><description>To the best of my knowledge, there is nothing in InfoPath that you can do to address this - I think you have to push the hotfix. At least that&amp;#39;s the approach I&amp;#39;d take.</description></item><item><title>Re: InfoPath Bug? - Infopath Database Template - Erroneous update of row items - Duplicate Items Created (Overwriting)</title><link>https://www.infopathdev.com:443/forums/thread/86751.aspx</link><pubDate>Tue, 05 Feb 2013 19:40:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86751</guid><dc:creator>damnItHarsh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86751.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86751</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s bull&amp;#39;s eye, Hilary! Impressive!! :)&lt;/p&gt;&lt;p&gt;The symptoms match what we have in the KB (on multiple Windows 7 machines). Two different but similar forms work fine on Windows 8 (they reliably fail on Windows 7). One test machine with Windows 7 started working fine after hotfix in KB was applied. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Apart from pushing the hotfix or advising all users to move to Windows 8, is there something I can do in Infopath form to address the issue? &lt;/p&gt;&lt;p&gt;The KB does mention a workaround (&amp;quot;configure the &lt;b&gt;Resync&lt;/b&gt; property in the &lt;b&gt;ADCPROP_UPDATERESYNC_ENUM&lt;/b&gt; enumerated constant to perform only insert operations or update operations  when the &lt;b&gt;UpdateBacth()&lt;/b&gt; method is called.&amp;quot;), I&amp;#39;m not sure how to implement that in Infopath though. &lt;/p&gt;&lt;p&gt;Or maybe you would know of a completely different solution altogether (imagining the issue would disappear if we can violate any 1 of the 5 different conditions mentioned in KB)..&lt;/p&gt;&lt;p&gt;Thank you for your help and hats off to your knowledge! &lt;/p&gt;</description></item><item><title>Re: InfoPath Bug? - Infopath Database Template - Erroneous update of row items - Duplicate Items Created (Overwriting)</title><link>https://www.infopathdev.com:443/forums/thread/86743.aspx</link><pubDate>Tue, 05 Feb 2013 16:16:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86743</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86743.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86743</wfw:commentRss><description>This may be &lt;a href="http://support.microsoft.com/kb/2591857"&gt;this&lt;/a&gt; bug. Everyone using Windows 7?</description></item><item><title>Re: InfoPath Bug? - Infopath Database Template - Erroneous update of row items - Duplicate Items Created (Overwriting)</title><link>https://www.infopathdev.com:443/forums/thread/86741.aspx</link><pubDate>Tue, 05 Feb 2013 16:12:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86741</guid><dc:creator>brandtsmith</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86741.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86741</wfw:commentRss><description>&lt;p&gt;I am having a similar issue...when trying to add(insert) a row and update a different row I get a primary key violation...looks like it is trying to insert the row i made an update to...I am having to tell my users to seperate the inserts from the updates...this worked in IP2007...???&lt;/p&gt;&lt;p&gt;&amp;nbsp;Harsh - try IP2007 if you can...I am using IP2010 and SQL2012&lt;/p&gt;</description></item><item><title>InfoPath Bug? - Infopath Database Template - Erroneous update of row items - Duplicate Items Created (Overwriting)</title><link>https://www.infopathdev.com:443/forums/thread/86627.aspx</link><pubDate>Thu, 31 Jan 2013 13:59:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86627</guid><dc:creator>damnItHarsh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86627.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86627</wfw:commentRss><description>&lt;p&gt;Infopath 2010 (part of MS Office Professional Plus 2010) version 14.0.61269.5000 (32 bit)&lt;br /&gt;SQL Server 10.50.1600&lt;/p&gt;
&lt;p&gt;Snapshot describing the table structure, InfoPath myFields panel and sample demonstration of issue:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://postimage.org/image/ysnk6r5mb/" target="_blank"&gt;http://postimage.org/image/ysnk6r5mb/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using Infopath (database template) as interface for 2 tables in a SQL database. The first table (let’s call it Config Table) is a dimension table (contains various attributes like metric name, goal etc.). The second&amp;nbsp;table is a fact table (let’s call it Data Table) and stores the actual data periodically. The Data Table has a Foreign Key that binds to the Primary Key of Config Table.&lt;/p&gt;
&lt;p&gt;I’ve been successful at creating the InfoPath form such that users can create new metrics in Config Table and later on, populate Data Table with data points on weekly basis (using Repeating Table inside Repeating Table).&lt;/p&gt;
&lt;p&gt;The issue I’m facing is that while updating (adding or updating the existing data points) in the Data Table, InfoPath overwrites some of the data points in Data Table (thus creating duplicate rows). &lt;/p&gt;
&lt;p&gt;I have tried creating multiple databases on different systems and tried different InfoPath forms (SQL Server 2008 R2, SQL Server 2012, InfoPath 2010, InfoPath 2013) and can replicate the problem repeatedly. Most likely it has something to do with how InfoPath parses the Insert &amp;amp; Update queries to SQL.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Has somebody encountered the same issue before? Is this a known issue with InfoPath? And if it is a bug, can somebody help me report it to Microsoft? Any workaround in the meantime would be appreicated too. Thanks for all the help.&lt;/p&gt;
&lt;p&gt;Cheers!&lt;br /&gt;Harsh&lt;/p&gt;</description></item></channel></rss>