Skip to main content
1-Visitor
April 28, 2020
Solved

Filter SQL data while using multiSelect Combobox

  • April 28, 2020
  • 1 reply
  • 1197 views

Hi All,

Based on selection of combobox, have to filter data. For that i wrote sql query as:

             SELECT col1  FROM table where col1 in ([[CheckInfo]])

        Input :- CheckInfo='value1','value2'

But filter is not happening

But if i give Input as :- CheckInfo='value1' 

It fetching data.

How to give input for multivalues

 

 

Thanks 

Best answer by Constantine

Hello @Muthu_chithira,

 

Depending on the underlying RDBMS, you might be able to split the string in SQL, e.g. STRING_SPLIT for T-SQL.

 

Regards,
Constantine

1 reply

18-Opal
April 29, 2020

Hello @Muthu_chithira,

 

Depending on the underlying RDBMS, you might be able to split the string in SQL, e.g. STRING_SPLIT for T-SQL.

 

Regards,
Constantine