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
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.
Best regards,
Community Support Team _ Phoebe Liu
Hi @v-yutliu-msft ,
Field types are:
I only see the varchar fields in the menu ?!
But after a few tests this:
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. 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
User | Count |
---|---|
252 | |
126 | |
104 | |
50 | |
49 |