In the Copy Sharepoint List Values to InfoPath Repeating section fields document, you are getting ALL of the people in the contacts list. In my case, I am populating a repeating section that is effectively a subform so i only want to get a subset of the items in my SP List. I have 2 secondary data connections to SP lists, that are in a 1 to many hierarchy
I added a filter (using an Id value from main form) to the Count rule which is returning the correct number of items from my list (which can vary from 1 to 5 or 6). When i do the insert, i am getting the first items in my list instead of the specific items that i need.The Insert Row command seems to be creating the empty rows that are then populated by the Set values statents for each field, I think that i need to add an additional filter to the set values statements in the repeating section OR when the secondary connection is run