cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How do I colect the text from a dropdown?

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

1 ACCEPTED SOLUTION

Accepted Solutions
Meneghino
Community Champion
Community Champion

Setor: Setores.Selected.Value

OR

 

Setor: Setores.Selected.Id

OR

 

Setor: Setores.Selected.ID

View solution in original post

1 REPLY 1
Meneghino
Community Champion
Community Champion

Setor: Setores.Selected.Value

OR

 

Setor: Setores.Selected.Id

OR

 

Setor: Setores.Selected.ID

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,633)