Try To Save Data (True or False) From DropDown To Add Row In Sql Server Database.
And Getting The Following Error
Could you please share more details about your SQL table?
Which data type is the IsApproved column in your SQL table?
The error message told that the value that you provided for the IsApproved column is invalid. The required data type of the IsApproved column is Boolean type, but you provide a Text type (String type).
I have made a test on my side and please take a try with the following workaround:
The OnSelect property of Button control set to following formula:
Note: The IsApproved column is a bit type column in my SQL Table. In addition, the Items property of the Drop down control (related to IsApproved column) set to following formula:
The PowerApps app works well as below:
On your side, please take a try with the following formula:
Note: Same formula for IsApproved column is also adapted for Is Available column and IsVerified column.
Thanks alot i did it.
but i have another problem:
why collect function do not work here
but patch function work
so i should have row in database and edit it and can not add new row with collect !!!
Check out how to claim yours today!
Check out new user group experience and if you are a leader please create your group
Test your skills now with the Cloud Skill Challenge.