Advanced search operator "IN" in field using "multiple" to select not working as expected

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
solucionesmipc
User
Posts: 1

Advanced search operator "IN" in field using "multiple" to select not working as expected

Post by solucionesmipc »

Hi.
i tried to use "in" operator in advanced search and no results when use more than 1 value in search option.

the debug sql query is not using quotes for every value. ex: SELECT status, '', COUNT(id) FROM vvzdata WHERE status IN ('option 1,Option2') AND client = 517

thanks.


mobhar
User
Posts: 11727

Post by mobhar »

You may simply use Recordset_Searching server event in order to add your own search criteria.


arbei
User
Posts: 9384

Post by arbei »

Note that you need to separate your input values by "|".


yinsw
User
Posts: 148
Location: Penang, Malaysia

Post by yinsw »

They have change the logic for this compare to earlier version.

For SELECT input type and multiple is selected, you use equal (=) operator.


Post Reply