Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

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







Microsoft Employee

Re: execute sql command with button

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