Mark Stanger
Giga Sage

loc.addQuery('name', 'CONTAINS', store_num); is the correct syntax.

What do you get in your logs when you log out 'store_num'?  Also, if 'store_num' is somehow stored as a  numeric field (it shouldn't be) you'll have to do 'store_num.toString()' for the comparison to work.

View solution in original post