ScottPugh
7 years agoQrew Cadet
Consolidating field value from Child records up to field in parent record
I have a parent table 'products' and a child table 'Distribution countries'
Each product can have multiple distribution countries associated to it
In addition to the 'country name' field, the distribution country has a number of other country specific fields
What I would like is there to be a single field on the parent 'product' table that contains a list of all the associated 'country name' fields... thus as users add/remove 'distribution country' records this field on the parent 'product' record would be updated
Example
Product A
Country 1
Country 2
Country 3
Ideally I would like one field on Product A called 'Distribution Markets' that is a multi-select field type that contains [Country 1] [Country 2] [Country 3]
And if a user removes Country 3 child record then this multi select field on the parent is updated to only contain [Country 1] [Country 2]
Each product can have multiple distribution countries associated to it
In addition to the 'country name' field, the distribution country has a number of other country specific fields
What I would like is there to be a single field on the parent 'product' table that contains a list of all the associated 'country name' fields... thus as users add/remove 'distribution country' records this field on the parent 'product' record would be updated
Example
Product A
Country 1
Country 2
Country 3
Ideally I would like one field on Product A called 'Distribution Markets' that is a multi-select field type that contains [Country 1] [Country 2] [Country 3]
And if a user removes Country 3 child record then this multi select field on the parent is updated to only contain [Country 1] [Country 2]