
Announcements
I am creating an app that is essentially a modified version of the Simple App that you get when you create an app from a list. My function to remove an Item from the BrowseGallery is not working even though the formula is exactly the same as the Simple App.
It says that there are invalid arguments in the remove function
Remove([@'RCI Red Tag Market'], BrowseGallery.Selected); If (IsEmpty(Errors([@'RCI Red Tag Market'], BrowseGallery.Selected)), Back()) @Anonymous
Please consider changing your Formula to the following:
RemoveIf('RCI Red Tag Market', ID=BrowseGallery.Selected.ID);
If(IsEmpty(Errors('RCI Red Tag Market')), Back())
You'll not want to try and check errors specifying the record that you have just removed.
RemoveIf with the primary key (ID) will be more specific and accurate.
I hope this is helpful for you.