Hi @Anonymous ,
Could you tell me:
- Do you have a list with many records? Does each record have (0-N) attachments?
- Do you want to use a combo box control to display all the attachments in the list?
- Do you want to use a button control to create a new record in another list?
- Are the attachments in the newly created record the attachments selected in the combo box control?(For example: Suppose you select attachment A and attachment B in the combo box control and click the button control. Do you want to create a new record in list b including these two attachments? )
If my assumptions are correct, please refer to the steps below:
1\ This is my list ‘LIST78’. It stores some records with attachments.



2\ This is ‘LIST80’ . It is used to store attachments from ‘LIST78’

.
3\ Add a button control and set its onselect property to:
ClearCollect(Test,0);ClearCollect(Test2,Filter(Ungroup(ForAll(Sequence(CountRows(LIST78)),Collect(Test,Last(Test).Value+1);Last(FirstN(LIST78,Last(Test).Value)).Attachments),"Value"),!IsBlank(Id)))
4\ Add a combo box control ‘ComboBox1’ and set its Items property to:
Test2
5\ Set the combo box control’s onchange property to:
ClearCollect(Test3,ComboBox1.SelectedItems)
6\ Add a edit form control ‘Form3’ and set its DataSource property to:
LIST80
Set this form’s field like picture:

Set the attachments datacard’s control’s property like picture:

Set ‘Form3’ ‘s Visible property to:
False
7\ Add a button control and set its onselect property to:
Patch(LIST80,Defaults(LIST80),{Title:"3"},Form3.Updates)
8\ The result is as follows:


Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.