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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (55,026)