Hi
I have a repeating table which I want to populate from the data in a SharePoint list. The SharePoint list has 5 fields:
Title - Add 1 - Add2 - Add3 - Add4
In InfoPath, the first cell of the repeating table contains the "Lender". This field is a drop down, that is populated from the SharePoint list field [Title].
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.
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.
xdXDocument:GetDOM("Creditor list")/dfs:myFields/dfs:dataFields/dfs:Creditor_list/@Add_1[../@Title = xdXDocument:get-DOM()/dfs:myFields/my:LocalFields/my:UnsecuredLoans/my:Lender]
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.
Any ideas where I am going wrong?
Thanks