Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

Mass update of SQL table based on data in a gallery from a view

I have a gallery with data from a SQL View (which summarizes data by Job from a Job table) loaded in a collection.

The user clicks checkboxes to flag certain rows in the gallery. (I apply these checkbox values to the collection behind the gallery).

I then want to update all the SQL records that have the job number of each selected checkbox. For each summary record in the gallery, there can be many records in the SQL table with the same job number that should be updated based on the flag for that record/job.

What is the best way to do this? I am puzzled. I can put a ForAll with a ForAll, I guess, but that is highly inefficient and slow. There must be a better way.



Gallery displays (from collection that is loaded from a SQL View):

Job 11

Job 12




In SQL table, each Job may have 5, 10 or more records that I then need to set a flag field, based on the user setting the flag in the gallery.


Helpful resources

Ignite 2022


Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,115)