Hi I'm a newbie and I have a problem where I cannot delete record from my DetailForm. Refer to screenshot below:
This is my code for Detail Form under "Item" property:
LookUp('DIS Fund',Identifier=BrowseGallery1.Selected.Identifier)

This is my code to delete this record in Detail Form under "OnSelect" property: (the problem is on this part where I cannot delete the record. I believe it is related to the previous screenshot where I used lookup but I'm not sure how to do this)
Remove([@'DIS Fund'], BrowseGallery1.Selected);
If (IsEmpty(Errors([@'DIS Fund'], BrowseGallery1.Selected)), Back())

Appreciate your help!🙏 Thank you so much