Thanks tford.
I have a BO
BO1
BO1 contains ProductName and I also have multiselector in the same BO edit form to select same BO names multiple times(discounted products for this product for example). So if I add one products other 3 products are discounted.
Now The IN query is like
FIND BO1 WHERE BO1 IN ThisBO1.ob_DiscountedProducts (ob_DiscountedProducts is multiselector to select discounted products for same BO)
DISPLAY MESSAGE COUNT BO1 WHERE BO1 IN ThisBO1.ob_DiscountedProducts
returns blank.
I do see 3 multichoice values in log if user selects 3 discounted products but above query returns 0
similar issue mentined here-
https://awareim.com/forum/https://www.awareim.com/forum/d/10851>
for me
FIND OrderLines WHERE OrderLines IN ThisOrderLines.ps_LinkToContractorOrderLine
DISPLAY MESSAGE SEARCH_COUNT