I have a datasource with a column called 'StatusId', I also have a local collection of the same satasource that is used to populate a gallery.
I need to select multiple rows in the gallery, click a button to 'bulk edit' then a popup box allows 'Approve', or 'Reject'. This will patch the datasource.
The approve should set 'StatusId'+1, and reject -1.
'Forall' is very slow. So I've been trying to get this to work with something like this;
Patch('StudentRefunds.Current',Defaults(Filter(Gallery1.AllItems,CheckboxCanvas3=true)),{StatusId:StatusId+1});

Report
All responses (
Answers (