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-... but this seem to be working with a gallery which i'm not using.
Solved! Go to Solution.
Hi @Frello,
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
Hi @Frello,
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
@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.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
202 | |
185 | |
77 | |
47 | |
37 |
User | Count |
---|---|
325 | |
259 | |
123 | |
72 | |
58 |