Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

execute sql command with button



Im using a Browsegallery to show data from a view in my Azure sql table 

but i need to have a checkbox so the users can approve that item.

Approving an item means that some fields in 3  tables must be updated and an sql command must be executed.


what's the best way to do this? 

Can i Add a button outside the browsegallery that for each checked checkbox, performs the update and executes the procedure?



Thank you








Hi dantept,

You could add the button to check each field and execute sql command.


There is a dome to update the value in textbox by the button control in the article below. For more detailed information, you could refer to the article.


Button control in PowerApps.


Best regards,


Sara Fan

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,922)