<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Only first row of repeating table are committed to SQL database</title><link>https://www.infopathdev.com:443/forums/thread/24452.aspx</link><pubDate>Thu, 15 Nov 2007 02:41:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24452</guid><dc:creator>joyye</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24452.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=24452</wfw:commentRss><description>&lt;p&gt;Hi Clay&lt;/p&gt;
&lt;p&gt;I have resolved this problem.&lt;/p&gt;
&lt;p&gt;The reason for the problem is just as your hint that&amp;nbsp;my&amp;nbsp;database is somehow wrongly mapped.&lt;/p&gt;
&lt;p&gt;The datasource in my form is as following:&lt;/p&gt;
&lt;p&gt;Main&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; Group1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;&amp;nbsp;Group 2&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group3&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2&lt;/p&gt;
&lt;p&gt;I mapped the child table to Group 2 instead of Group 3, thus the following colums are mapped with xpath my:Group 3/my:Field2.&lt;/p&gt;
&lt;p&gt;When I change the child table mapping to Group 3, and then remapped the fields, the xpath changed to my: Field2.&lt;/p&gt;
&lt;p&gt;Would u please give further explaination what&amp;#39;s the difference between the above 2 ways of mappings? And why the first mapping caused the problem?&lt;/p&gt;
&lt;p&gt;Thank u so much!&lt;/p&gt;
&lt;p&gt;Wish u a good day :-)&lt;/p&gt;</description></item><item><title>Re: Only first row of repeating table are committed to SQL database</title><link>https://www.infopathdev.com:443/forums/thread/24435.aspx</link><pubDate>Wed, 14 Nov 2007 13:41:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24435</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24435.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=24435</wfw:commentRss><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;DBXL can &amp;quot;shred&amp;quot; to multiple nested tables and even seperate tables but some times this can be tricky.&amp;nbsp; The key is that you will need to match your table structure in SQL and your data source in your form.&lt;/p&gt;
&lt;p&gt;So if you have in your form&lt;/p&gt;
&lt;p&gt;Main&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; Group1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; Field1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group 2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2&lt;/p&gt;
&lt;p&gt;You would need a table in SQL for&amp;nbsp;Group1 data and then a child table for Group 2&lt;/p&gt;
&lt;p&gt;In the DBXL Admin Tool you would need to configure your mapping with table1 and then add a table within it for table2 with the appropriate keys.&lt;/p&gt;
&lt;p&gt;If you would like to set up a time where I could help you with this send me an email.&lt;/p&gt;</description></item><item><title>Only first row of repeating table are committed to SQL database</title><link>https://www.infopathdev.com:443/forums/thread/24430.aspx</link><pubDate>Wed, 14 Nov 2007 10:02:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24430</guid><dc:creator>joyye</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24430.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=24430</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;The problem is urgent.&lt;/p&gt;
&lt;p&gt;I followed the instructions of tutorial &amp;quot;Configure Database Mappings in DBXL&amp;quot; and succeeded.&lt;/p&gt;
&lt;p&gt;I made a slight change to the sample form in the tutorial, just change the child table&amp;#39;s Primary key&amp;nbsp;to an identity key, and add another colum to relate to the Primary key&amp;nbsp;of the parent table.I assumed the form can commit data successfully to the SQL DB with one row added in the parent table and several rows added in the child table(mapped to the repeating group in the form).&lt;/p&gt;
&lt;p&gt;But actually, I found only the first row of the repeating table(mapped to the child table) is committed to the child table.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure whether it is because of limitation or there is any configuration could resolve the problem?&lt;/p&gt;
&lt;p&gt;Here is the link of my comment: &lt;a href="http://www.infopathdev.com/files/folders/dbxl/entry19790.aspx"&gt;http://www.infopathdev.com/files/folders/dbxl/entry19790.aspx&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>