I'm looking for a way to populate a repeat with data aggregated from another repeat when a field in each repeat contains a common value - i.e. only aggregate the values from Repeat 1 to Repeat 2 if a field in both has the same value.
When our field technicians find something below surface, we record by location (parent survey), soil strata (repeat), and individual descriptions (repeat). The survey currently has the techs filling out the individual descriptions - which is aggregated to the location - and the soil strata forms separately. What I'd like to do is have the same information aggregated into the soil strata repeat so that all artifacts identified in the individual descriptions as coming from strat 2 of a given test location are added to the strat 2 soils record. This would streamline our workflow and cut-out an opportunity for internal disagreement in our data.
Any ideas?