cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JanLektonen
Advocate III
Advocate III

Case-insensitive search in Combobox control

Hi community

 

Is it posible to make the standard search in the Combobox control case IN-sentitive so that I do not have to only write the seachtext in capitals when searching ? I want to write/search fx. "demo" and not "DEMO" - both should return result...

 

There is no option for controlling this in the parameteres in the control  - but maybe someon knows how to do it anyway using this STANDARD Combobox dropdown with SEARCH enabled... 

 

Thanks & 

Best regards, Jan

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @JanLektonen 

With SQL Server data sources, PowerApps will carry out case sensitive searches if your database applies a case sensitive collation sequence. 

https://powerusers.microsoft.com/t5/General-Discussion/Search-Case-sensitive/td-p/41098

To work around this problem, you can create a View in SQL Server that CASTs the column that you want to search against to a case insensitive collation (eg SQL_Latin1_General_CP1_CI_AS). You can then add this View to your app, and set the Items property of your Combobox to the view.

View solution in original post

3 REPLIES 3
timl
Super User III
Super User III

Hi Jan,

What's the data source for your app? Is it SQL Server by any chance?

Hi @timl 

 

Yes the source database is a table from SQL-server... The column I want to search in have all records in Capital letters...

Hi @JanLektonen 

With SQL Server data sources, PowerApps will carry out case sensitive searches if your database applies a case sensitive collation sequence. 

https://powerusers.microsoft.com/t5/General-Discussion/Search-Case-sensitive/td-p/41098

To work around this problem, you can create a View in SQL Server that CASTs the column that you want to search against to a case insensitive collation (eg SQL_Latin1_General_CP1_CI_AS). You can then add this View to your app, and set the Items property of your Combobox to the view.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,255)