cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jeanshak
Helper IV
Helper IV

Combo Box Control Change the Display fields????

How can i change on a Combo Box control Change the Display fields????

 

please see pictures 

I want for example change the field: Nr+town Ronnenberg against something else from the source-collection.

 

 

Unbenannt.pngUnbenannt2.png

Jens Rogge
1 ACCEPTED SOLUTION

Accepted Solutions
jeanshak
Helper IV
Helper IV

ComboBox1.SearchFields = ["MyFirstColumn", "MySecondColumn"]
ComboBox1.DisplayFields = ["MyFirstColumn", "MySecondColumn"]

Thats it !

 

Jens Rogge

View solution in original post

11 REPLIES 11
jeanshak
Helper IV
Helper IV

ComboBox1.SearchFields = ["MyFirstColumn", "MySecondColumn"]
ComboBox1.DisplayFields = ["MyFirstColumn", "MySecondColumn"]

Thats it !

 

Jens Rogge

View solution in original post

Anonymous
Not applicable

I tried it and it didn't work.  Can you elaborate on this solution?

 

My combobox is based on a picklist. so the pick list correctly shows the right value but how do i get the combox to show the "Display name" field

Thank you!  Because of your example, I've learned to use the properties / formula bar for most work.

It use to work (My old Combobox still display the 2 fields) and even when i Copy-Paste them. But when i create one from scratch, it won't display multiple fields no matter what i do.

... begins to feel like Excel API. Function that use to work got unstable and irritants like that....

Copied.PNGNew.PNG

DisplayFields.PNG

WPB
Kudo Kingpin
Kudo Kingpin

 

Were you ever able to resolve this issue?  I am experiencing the same thing.

Confluent

Fixed this issue for me by setting the "Layout" property (Image attached)

Thanks, @Slaverty 

 

That saved my day!

dibb
Frequent Visitor

Perfect thanks.

 

Also wondering if there's a way to limit the number of choices to just one.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,271)