<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: New row in repeating table not inserted correctly.</title><link>https://www.infopathdev.com:443/forums/thread/82990.aspx</link><pubDate>Tue, 25 Sep 2012 13:22:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82990</guid><dc:creator>flyingoat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82990.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=82990</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you very much Hilary!&lt;/p&gt;&lt;p&gt;That really helps a lot! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: New row in repeating table not inserted correctly.</title><link>https://www.infopathdev.com:443/forums/thread/82897.aspx</link><pubDate>Thu, 20 Sep 2012 21:04:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82897</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82897.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=82897</wfw:commentRss><description>&lt;p&gt;Oh, this is a bug!!!! From a Microsoft contact:&lt;/p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;b&gt;&lt;span style="COLOR:#1f497d;"&gt;Problem:&lt;/span&gt;&lt;/b&gt;&lt;span style="COLOR:#1f497d;"&gt; You have an InfoPath form bound to a database.&amp;nbsp; If only Inserts are performed, this works fine, and if only Updates are performed, this works fine. &amp;nbsp;But if an Update and an Insert are performed in the same batch, then the Update changes its record, and then the Insert gets sent... but with the values from the Update.&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;b&gt;&lt;span style="COLOR:#1f497d;"&gt;Cause:&lt;/span&gt;&lt;/b&gt;&lt;span style="COLOR:#1f497d;"&gt; This issue is caused by a regression in the ADO libraries that ship as part of current versions of Microsoft Windows.&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;b&gt;&lt;span style="COLOR:#1f497d;"&gt;Resolution:&lt;/span&gt;&lt;/b&gt;&lt;span style="COLOR:#1f497d;"&gt; This issue was resolved by the fix&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Incorrect values are updated after an application calls the UpdateBacth() method in Windows 7 or in Windows Server 2008 R2&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;a href="http://support.microsoft.com/kb/2591857"&gt;&lt;font color="#0000ff" size="3" face="Calibri"&gt;http://support.microsoft.com/kb/2591857&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;The article has a link to download the fix.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>New row in repeating table not inserted correctly.</title><link>https://www.infopathdev.com:443/forums/thread/82878.aspx</link><pubDate>Thu, 20 Sep 2012 15:31:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82878</guid><dc:creator>flyingoat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82878.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=82878</wfw:commentRss><description>&lt;p&gt;&lt;span class="yj-message"&gt;Hey guys, I have a annoying problem while 
working with InfoPath form, I have a parent table (tbl_Parent {Parent_ID, name, ...}) and child table(tbl_Child{Child_ID,&lt;/span&gt;&lt;span class="yj-message"&gt;&lt;span class="yj-message"&gt;Parent_ID, name&lt;/span&gt;,.. }) in the
 database, &lt;/span&gt;&lt;span class="yj-message"&gt;&lt;span class="yj-message"&gt;&lt;span class="yj-message"&gt;Parent_ID is the primay key of parent table, &lt;span class="yj-message"&gt;&lt;span class="yj-message"&gt;Child_ID is the primary key for child table, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="yj-message"&gt;&lt;span class="yj-message"&gt;&lt;span class="yj-message"&gt;&lt;/span&gt;&lt;/span&gt;they have one to many relationship. Then I designed a main 
infopath form with data fields associated with parent table and a 
repeating table in the form with data fields associated with child 
table. In the Infopath form, the main connection has two tables associated by &lt;span class="yj-message"&gt;&lt;span class="yj-message"&gt;Parent_ID.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="yj-message"&gt; I can submit data into two tables correctly, but when I 
retrieve, make some changes on existing rows and add a new row in the repeating table and resubmit, one of the 
existing rows will be re-inserted again, instead of new row. Sounds like you cannot make changes and add new row at the same time, is that right? &lt;/span&gt;&lt;/p&gt;&lt;p&gt;By the way, I am using InfoPath 2010, but in order to enable the &amp;quot;submit&amp;quot; button and submit data to database directly, I changed form type from &amp;quot;Web browser form&amp;quot; to &amp;quot;InfoPath 2007 filler form&amp;quot;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="yj-message"&gt;Do you guys happen to know the solution for this? Thanks a lot!&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>