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
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 Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,138)