I have some problems to use multiple search fields in my app
The purpose of the first is to find supplier using name or VAT, second is to fill in counterpart, so the customer, again using name or VAT.
A) It works only in the first combobox, but both are exactly the same and in both is SearchFields value set to:
Is this known behaviour?
B) It is being reset to one searchfield every time I open web editor .
Any clue why is this happening?
What is the formula that you used on the Items property of combo box? Also, explain the related data types. Notice the formula in SearchFields shoud be:
Also take a screenshot of below settings:
Problem is that Microsoft decided long time ago, for some weird reason that I will never understand, to translate commands in Excel and the same is unfortunatelly true for PowerApps.
["VAT", "Name"] - does not work in Czech language ["VAT"; "Name"] - is "ok"
There is no difference if you have just 'dbo.companies' or Filter(...) in Items. Currently I have there full table so just 'dbo.companies' in Items.
I think that this issue is simply bug. I do not know where to report it... Cause of this bug is the translation mentioned above.
Workaround I found:
1) Set SearchFields ["VAT", "Name"] - ignore error (Unexpected symbols.....)
2) Run - stop preview
3) Correct SearchFields to ["VAT"; "Name"] - error is gone everything works fine now you can search in both columns
4) Repeat 1) - 3) for second combobox
5) Publish the version - everything works fine now you can search in both columns in both comboboxes
Problem is that you need to repeat steps above everytime you edit the app, because next time you open the app for editing, does not matter that you haven't changed a bit, SearchFields are reset to ["VAT"] only.
Hi @TomasZubov , @Anonymous
Was this issue ever solved? I face same issue in an app a recently created. I have several comboboxes on different screens, but only the first inserted combobox on the first screen allows me to search multiple fields from my connected SQL data source.
The rest of my comboboxes are setup exact same way as the first, using the same data source.
Hi @Nicolai_Hardahl ,
I just tested that and at least now it works with semicolon, but you need to change it before every single change.
So issue with search field deletion is not fixed.
Hi @TomasZubov and THX for this. i live in Denmark and had the same problem. Hovever my solution has been to use "," instead of using ";" as i normaly do. I just ignored the error, and published the app, and it has been working fine since. Realy one of those "What?" moments. But once again, thank you for your solution.
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021