<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Repeating Table from Web Service copy to Repeating Table from Main Data Source</title><link>https://www.infopathdev.com:443/forums/thread/28853.aspx</link><pubDate>Wed, 21 May 2008 21:52:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28853</guid><dc:creator>Patrick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28853.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=28853</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have a web service that I am connecting to which populates it&amp;#39;s repeating parts into a repeating table.&amp;nbsp; My initial goal was to use this data in a Master - Detail relationship, but the data source will not allow me to do that.&amp;nbsp; &lt;/p&gt;&lt;p&gt;So my next thought was that I could create a Master - Detail relationship on a separate control in my Main Data Source that would have default values set to feed from the Repeating Table in my secondary data source (the web service).&lt;/p&gt;&lt;p&gt;I set up a test with just one field in my Main Data Source.&amp;nbsp; When I set the default value to the corresponding field in the Secondary Data Source it only populates the first row, and doesn&amp;#39;t create any more rows.&amp;nbsp; I can&amp;#39;t figure out why.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If I need to explain this more clearly let me know please, but here is an example:&lt;/p&gt;&lt;p&gt;Main Data Source: Contains(repeating group with 1 field)&lt;/p&gt;&lt;p&gt;Secondary Data Source: (Web Service), Contains(Many groups, some repeating.)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Using Main Data Source fields (repeating group with 1 address field)&amp;nbsp;&lt;/p&gt;&lt;p&gt;Using Secondary Data Source fields (repeating group with 1 address field)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Main Data Source Control (Master - Detail) (I&amp;#39;ve also tried using just a repeating table)&lt;/p&gt;&lt;p&gt;Secondary Data Source Control (Repeating Table) (this is forced by InfoPath since I am using a web service)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Trying to get Main Data Source &amp;quot;address&amp;quot; field to take values from Secondary Data Source &amp;quot;address&amp;quot; field values.&amp;nbsp; Currently, it will only take the first row of the Secondary &amp;quot;address&amp;quot; field.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any help would be fantastic!&amp;nbsp; Thanks!&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>