Good day all,
I have a question and I am hoping someone can help me out. Currently I am working with two 'connected' Sharepoint lists. One for the records; 'Record List', one for more detailed information on those records; 'Detail List'. I match these records by having a column in 'Detail List' called Record_ID, which matches the ID value of 'Record List'.
Now I have built a function within a Power App gallery to remove a record from 'Record List' using the following code:
Remove('Record List', ThisItem)
But what I would like as well, is to have the same button remove all connected items in 'Detail List' as well. So I need a code to remove all items where the column Record_ID matches the ID of the selected item in the gallery.
Can anyone help me out with this?