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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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 (65,466)