Long time reader first time poster: Newbie question I hope.
I am creating a InfoPath form, from 2 SharePoint List. I have 2 data connections to two separate lists, and one XML schema connection.
The form has a repeating table section and a non repeating table section. In the Non repeating section I have 2 columns a Date picker (Date) and a calculated field (Course). The date reads off the Secondary SharePoint List and the date you select will fill in the calculated field with a Course Name. I have this working no worries. However in the repeating table section I have another textbox field (Course) attached to the Main Data source, I would like to get the Non repeating Course section default to the repeating table course section and hold on that line. So when selecting insert new row the above row will stay what was chosen, but if the date is changed and a new course is added not to change the top row but to stay in the current row.
I have been able to fill the repeating table from the non repeating table, but when inserting new line it carries over.
I hope this makes sense. I have tried using current()/../ but InfoPath 2013 doesn't like the /../
Any suggestions or help would be very much appreciated.
Thanks