I need to have a Project List and multiple updates for those projects (1 to many). I have tried a few ways to create a solution and keep running into dead-ends.
When creating two lists and doing a lookup I can only update one list or the other on one form, not both. I need to be able to update the project and the update on the same form. I also need the ability to create new projects or updates on that form as well.
The best solution I can create follows:
I have combined the projects and updates into the same list. I am using a repeating section for the merged update fields (Update, Update_Type, Update_Date) so that I can have 1 to many.
I have a main data connection (no query fields), and a secondary data connection (with query fields). Both point to the same list called Projects.
I query the secondary data connection for a specific project and then set the fields individually on the main data connection from that queried result.
It works great until I get to the Repeating Section. I can only copy the first item to the main connection.
The question is. How can I replicate what happens when you simply click on a list item in SharePoint and it populates all the form fields including the repeating section, just as it was saved?
- or how can I loop thru the repeating section data and populate my main connection repeating table?