Hi everyone,
I'm having a problem where i'm not sure what to place on the code when I want to get the text of the selected option in a dropdown and submit it to the table(it's a form)
Here's how the code is:
Patch(Table2; Defaults(Table2);{NomePessoa:TextInputNomePessoa.Text; RE: Value(TextInputRE.Text); Setor: Setores.Text; NomeCurso: TextBox1.Text})
As "NomePessoa" is a text field, its easy, just place .Text in the end.
"RE" is an int field, so i used Value() on the item
"Setor" is a dropdown, with options, what should i use on this? Currently is
Setor: Setores.Text;
but this is not working, already tried Setor: Setores.Selected, Setor:Value(Setores.Text), neither of them works!
Thanks for the help
Solved! Go to Solution.
Setor: Setores.Selected.Value
OR
Setor: Setores.Selected.Id
OR
Setor: Setores.Selected.ID
Setor: Setores.Selected.Value
OR
Setor: Setores.Selected.Id
OR
Setor: Setores.Selected.ID
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
188 | |
70 | |
49 | |
36 | |
25 |
User | Count |
---|---|
240 | |
111 | |
89 | |
88 | |
66 |