<?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>Re: Repeating table using looked up values issues</title><link>https://www.infopathdev.com:443/forums/thread/53554.aspx</link><pubDate>Sat, 10 Apr 2010 07:34:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53554</guid><dc:creator>DarrylGould</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53554.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=53554</wfw:commentRss><description>Looks like i have managed to solve my own problem&lt;p&gt;

It seems the issue was that I was not looking at the current &amp;quot;Lender&amp;quot;.  I looked into using Current, etc, but as I am not a developer, I just found that confusing.  Instead, I did the following, which worked perfctly:&lt;p&gt;

I created a new dummy field in the form called &amp;quot;CurrentLender&amp;quot;.  Whenever a user selects a Lender from the dropdown, I use a rule to populate the CurrentLender field with the Lender name.  I then use the rule to populate the Add1 field with the corresponding address for the CurrentLender field, rather than using the Lender field.&lt;p&gt;

As a new line is inserted and the user selects a new Lender, the CurrentLender is overwitten, and therefore the logic works for the new line.</description></item><item><title>Repeating table using looked up values issues</title><link>https://www.infopathdev.com:443/forums/thread/53515.aspx</link><pubDate>Fri, 09 Apr 2010 10:42:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53515</guid><dc:creator>DarrylGould</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53515.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=53515</wfw:commentRss><description>Hi

I have a repeating table which I want to populate from the data in a SharePoint list.  The SharePoint list has 5 fields:&lt;p&gt;

Title - Add 1 - Add2 - Add3 - Add4&lt;p&gt;

In InfoPath, the first cell of the repeating table contains the &amp;quot;Lender&amp;quot;.  This field is a drop down, that is populated from the SharePoint list field [Title].&lt;p&gt;

When the user selects a Lender, I want the other four fields from the SharePoint list to populate the corresponding fields in the InfoPath form.&lt;p&gt;

I am attempting to do this using a Rule on the Name field that populates the Address fields in the repeating table when there is a match in the SharePoint list, i.e. &lt;p&gt;

xdXDocument:GetDOM(&amp;quot;Creditor list&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Creditor_list/@Add_1[../@Title = xdXDocument:get-DOM()/dfs:myFields/my:LocalFields/my:UnsecuredLoans/my:Lender]&lt;p&gt;

The problem I am having is that the first row works fine.  And the second row seems to be fine too, but when I add a third row the form puts the address field for the second row in as the third row addresses.&lt;p&gt;

Any ideas where I am going wrong?&lt;p&gt;

Thanks</description></item></channel></rss>