How does your database look like? Do you have a column for each one of those skills in your DB?
You need to load all the checkbox elements inside a collection that loads anytime the app is started. So you set this on the OnStart
ClearCollect(ColName,[".Net",....,"Java"])
Then you have another collection for all the elements that are being checked against. So on the checkbox Oncheck property, Set this
Collect(Checked,ThisItem.Value)
Then on your save button, add this
ForAll(Checked,Patch(DataSource,Defaults(DataSource),{Skills: ThisItem.Value}))
You could also twerk it to make it suit your process.
If you find this post interesting, give it a like and accept it as a solution to help others find it
Hello Silvester, my database is a relation database, in this case, the skill values is a catalog, this table have a 3 columns, idskill, cve and description, in my gallery show the description but i should insert in another table only the skill id.
Best regards
Alright, @Ing_Jesus_Lopez ,
Assuming you are loading the skills checkboxes from the catalog, do this.
You need to have another collection for all the elements that are being selected. So on the checkbox's Oncheck property, Set this
Collect(Checked,ThisItem.Value)
Then on your save button, add this to the OnSelect Property
ForAll(Checked,Patch(DataSource,Defaults(DataSource),{Skills: ThisItem.Value}));Clear(Checked)
User | Count |
---|---|
151 | |
94 | |
85 | |
77 | |
58 |
User | Count |
---|---|
193 | |
175 | |
105 | |
96 | |
90 |