Using MSSQL to check a list
SELECT *
FROM attributes
WHERE '#form.searchsize#' IN('attribute_values')
Something like this?
I tried this and could not get it to work.
Basically I need to know if the #form.searchsize# variable is within the data (separated by commas, therefore commas are the delimiter) in each row(record) within the attribute_values field.
attribute_values (MS Access Field)
1,2,3,4,5
1,2,3,4,5,6,7
2,3,4,5,6,7
5,6,7,8,9
I need to check each row's attribute values and see if my #form.searchsize# variable is in it's list.
