Hi, I have a InfoPath 2010 (SharePoint 2010) browser form, and am trying to figure out the best way to pass data in a repeating table. I'm attaching screenshots to help explain.
Here's background.....This repeating section is from a secondary data source (SharePoint list) that is queried on the previous view. Changes to the data are pushed to a temporary (hidden) table where they are bulk submitted to SharePoint using qrules - submit to sharepoint command.
In each screenshot, I show 4 rows of data from the repeating table (some fields are shown conditionally based on other fields). The original query pulls up the 1st screenshot. The top row has an expense/revenue category of "Expense - Other Labor". This is also captured in the other rows in the yellow fields. If the user changes the first row's Revenue/Expense Category (see 2nd screenshot), then I need the yellow fields on rows 2-4 to update to the same value. So, in this case I need rows 2-4 to not show "Expense - Other Labor", but instead they need to update to "Expense - Freight".
The added requirement is that these yellow fields only update while the GL Account Range matches the value in Row 1 (there could be other ranges further down in the data, it's just not shown here).
I think I can do this in a workflow after the data is submitted, but I am looking for something quicker to be in InfoPath prior to the data being submitted. I'm playing with preceding sibling (which I have only used once for a different situation), but I can't figure out how to get it to work (can it even be done in a secondary data source?). Is this the way to go (and if so, any pointers?) or is there something else I should do?
Thanks!
Gwen