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

Re: Combo Box Control Change the Display fields???? /// Solution

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

Re: Combo Box Control Change the Display fields???? /// Solution

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

Thats it !

 

Jens Rogge

View solution in original post

Anonymous
Not applicable

Re: Combo Box Control Change the Display fields???? /// Solution

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

Highlighted
MickThornton Advocate I
Advocate I

Re: Combo Box Control Change the Display fields???? /// Solution

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

WPB Kudo Commander
Kudo Commander

Re: Combo Box Control Change the Display fields???? /// Solution

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 Commander
Kudo Commander

Re: Combo Box Control Change the Display fields????

 
KarlHoffmaster Advocate II
Advocate II

Re: Combo Box Control Change the Display fields????

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

Confluent
Slaverty Helper II
Helper II

Re: Combo Box Control Change the Display fields????

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

MoamenIbrahim
Regular Visitor

Re: Combo Box Control Change the Display fields????

Thanks, @Slaverty 

 

That saved my day!

dibb
Frequent Visitor

Re: Combo Box Control Change the Display fields????

Perfect thanks.

 

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

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (348)