cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jup
Helper II
Helper II

Combobox - Missing fields

Hi all,

 

I have a table and want to display some infos (fields). For example "JobNr", "ReflexNr", "Projektname".

But if I insert a Combobox, I cant select the fields. I can only see 2 fields ("Projektname", " Statusänderungsgrund"). I also want that these fields are all searchable.

Where can I get the other fields?

 

If I manually change the values "SearchFields" and "DisplayFields", I can display (just only 1 other field), but i cant search for values. Very strange...

Can you help me please?

 

thanks,

jup

3 REPLIES 3
v-yutliu-msft
Community Support
Community Support

Hi @jup ,

Could you tell me the data type of the fields that disappear in the selection?

Not all the data type can be directly chosen in combo box.

Some special data type need specific formula to display in combo box.

If you want to search for values in combo box, you need to trun this toggle on.716.PNG

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yutliu-msft ,

 

Field types are:

1.PNG

I only see the varchar fields in the menu ?!

But after a few tests this:

2.PNG

But it behaves buggy. I cant realy explain but if I played around with "DisplayFields" I there was sometimes a vlue from a field (?) can't explain it ... Maybe really buggy?

 

I dont know how to realize to display:

1. different fields in the dropdown (maybe more than 3 text lines - is it possible and how?)

2. searchable over 2 fields (or more if its possible?)

 

thanks,

jup

Hi all!

 

It seems that it's only possible to use varchar for display+search within a combobox.

If found this post that descibes to create a sql server view to convert (cast) the numeric fields as varchar for example.

 

My view:

SELECT Cast(jobnr AS CHAR(50))    AS JobNr, 
       Cast(reflexnr AS CHAR(50)) AS ReflexNr, 
       Cast(von AS CHAR(50))      AS Von, 
       Cast(bis AS CHAR(50))      AS Bis, 
       Cast(status AS CHAR(50))   AS Status, 
       projektname, 
       statusaenderungsgrund 
FROM   dbo.tprojekte 

I did it and take a look... I am able to use the other fields for display information now 🙂 :

 

1.PNG

 

1. PROBLEM: 

I used the same formula for the values "DisplayFields" and "Searchfields":

["Projektname";"ReflexNr"]

 

If I'm searching for a "Projektname" - it works fine!

BUT: If I'm searching for a "ReflexNr" - it works not / nothing to find

 

Can you help me please?

 

2. QUESTION: 

Is it possible to use more than the given teamplates for comboboxes (1 Line Text; 2 Lines Text; 1 Pic+2 Lines Text)? For example: DisplayFields = ["Projektname";"ReflexNr"; "Von"; "Bis" ... ]

 

Thanks in advance

jup

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

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.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

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