web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Checkbox update SQL da...
Power Apps
Answered

Checkbox update SQL database

(0) ShareShare
ReportReport
Posted on by

I've created a "Add user" screen where I want to be able to use a checkbox if a user is approved or not.

 

If a user is approved I want to be able to update my SQL database with true and if the checkbox is not checked I want it to be false. 

 

I've been trying to use the patch function but I can't seem to figure out to get it working. 

 

If seen a solution  here https://powerusers.microsoft.com/t5/General-Discussion/Checkbox-Value-needs-to-Patch-or-UpdateIf-to-SharePoint-List/m-p/89134#M33717 but this seem to be working with a gallery which i'm not using.

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Hi @Anonymous,

     

    could you pls share a bit more about your code to update your SQL database? 🙂

    And it's not working with a code like If(YourCheckbox.Value=true,true,false)?

     

    Best regards

    Vasii

  • Community Power Platform Member Profile Picture
    on at

    @Anonymous The code you mentioned worked for me. I forgot to mention i'm fairly new to Powerapps, sorry if I was not clear in my question.

     

     

     

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard