I have an PA that goes to a DisplayScreen.
On the Display screen I have a DisplayGallery gallery that only shows that ID
To Edit/Delete you click on the DisplayGallery on the DisplayScreen which navigates you to the EditScreen.
Where it shows a Form and a Gallery (uses a different list, and display items when ID and MasterID are the same).
Item: If(!IsBlank(Param("ID")),LookUp('Requests',ID = varID),DisplayGallery.Selected)
Items: Filter('Details', MasterID = Value(DataCardValue1.Text))
When I delete, I'm using the DisplayGallery.Selected to delete all items on the EditScreen.
Sometimes it works, sometime it dont. Is there another way so getting the items to delete.
Delete Button on EditScreen
RemoveIf('Details', MasterID = 'DisplayGallery'.Selected.ID)
*** 'DisplayGallery' is on the previous screen (DisplayScreen), not EditScreen.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.
Hi @crjohnson82 ,
Do you want to delete the item that display in the edir form?
If so, try this formula:
If(!IsBlank(Param("ID")),Remove('Requests',LookUp('Requests',ID = varID)),Remove('Requests',DisplayGallery.Selected))
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.