Hi @Doosan_Dean ,
Do you want to populate selecteditems in a combo box(lookup field) by selecting items in a gallery(the related list)?
Could you tell me whether AccountName field in ActivityList allow multiple choice?
I've made a similar test for your reference:
1)set gallery's Items:
Filter(CustomerList,TextInput1.Text in ACCOUNTNAME)
//gallery display CustomerList,filter gallery based on AccountName
2)insert an edit form
set the form's datasource:
ActivityList
set the form's DefaultMode:
New
Unlock AccountName datacard in the form
3)If AccountName is single choice lookup field, set AccountName combo box's DefaultSelectedItems:
{Value:Gallery1.Selected.ACCOUNTNAME,Id:Gallery1.Selected.ID}
//the selected item in gallery will be the combo box's selected item
If AccountName allow multiple value, set arrow button's OnSelect inside the gallery:
Collect(accounts,{Value:Gallery1.Selected.ACCOUNTNAME,Id:Gallery1.Selected.ID})
set AccountName combo box's DefaultSelectedItems:
accounts
//the selected items in gallery (including the previous selected) will be combo box's selected items
Best regards,