<?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: Second submissions to SQL database repeating tables</title><link>https://www.infopathdev.com:443/forums/thread/64008.aspx</link><pubDate>Wed, 09 Feb 2011 05:45:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64008</guid><dc:creator>DarrylGould</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64008.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=64008</wfw:commentRss><description>Hi Ted

Thanks for your response.  I haven&amp;#39;t forgotten about DBXL.  I am just waiting for a requirement where we need it, and there is no work around.

With regard to this particular problem, I found a workaround.  I found that removing the Default Values for Repeating table stopped the form creating blank rows in the SQL table. This allowed me to perform the second submission without any issues.

Thanks
Darryl</description></item><item><title>Re: Second submissions to SQL database repeating tables</title><link>https://www.infopathdev.com:443/forums/thread/63839.aspx</link><pubDate>Wed, 02 Feb 2011 23:14:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63839</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63839.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=63839</wfw:commentRss><description>&lt;p&gt;Hi Darryl,&lt;/p&gt;
&lt;p&gt;It sounds like there is something wrong with the SQL Schema.&lt;/p&gt;
&lt;p&gt;I know you and I talked about DBXL software in the fall, DBXL would solve tha problem because it keeps track of the correspondence and allows for updating.&lt;/p&gt;
&lt;p&gt;I would be happy to assist with the install of DBXL so you can test it out - do you have a web server where you can install DBXL?&lt;/p&gt;
&lt;p&gt;ted&lt;/p&gt;</description></item><item><title>Second submissions to SQL database repeating tables</title><link>https://www.infopathdev.com:443/forums/thread/63801.aspx</link><pubDate>Wed, 02 Feb 2011 12:27:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63801</guid><dc:creator>DarrylGould</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63801.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=63801</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;We have a form that is based on a SQL database.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The form contains several repeating tables.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The repeating tables populate one-to-many tables in the SQL database.&lt;/font&gt;&lt;/p&gt;&lt;font face="Consolas" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoPlainText" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;We send data to the database twice: Once when the record is created; and once, a couple of weeks after, when the repeating tables are populated.&lt;/font&gt;&lt;/p&gt;&lt;font face="Consolas" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoPlainText" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Consolas"&gt;I have discovered that when the record is originally created in SQL an ID is assigned first entry in the repeating tables.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font face="Consolas" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoPlainText" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;When we try to submit the data for a second time, the data cannot be sent if there is more than one entry in the repeating tables (because no ID exists for the second and third rows).&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;Thanks&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;Darryl&lt;/font&gt;&lt;/p&gt;&lt;font face="Consolas" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoPlainText" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;Is there any way around this?&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Is it possible to add blank rows to the repeating tables when a new form is created?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>