G
Guest
hi there,
At the moment i am trying to make a query where i am able to search a field
"search_criteria". This field contains a bunch of keywords that is related to
the record's contents. I keep having a problem with my SQL though, as i try
to place a parameter query in surrounded by wildcards, it says i have invalid
syntax. Below is the code that i am trying to use:
SELECT tbl_furn_item.supplier, tbl_furn_item.range,
tbl_furn_item.description, tbl_furn_item.price, tbl_furn_item.rrp,
tbl_furn_item.search_criteria
FROM tbl_furn_item
WHERE (((tbl_furn_item.search_criteria) LIKE "*[Search string for]*"));
I know that it is my LIKE statement that is the problem, but from what i can
see it follows all the syntax that i have seen related to the LIKE statement.
Thanks for your help
At the moment i am trying to make a query where i am able to search a field
"search_criteria". This field contains a bunch of keywords that is related to
the record's contents. I keep having a problem with my SQL though, as i try
to place a parameter query in surrounded by wildcards, it says i have invalid
syntax. Below is the code that i am trying to use:
SELECT tbl_furn_item.supplier, tbl_furn_item.range,
tbl_furn_item.description, tbl_furn_item.price, tbl_furn_item.rrp,
tbl_furn_item.search_criteria
FROM tbl_furn_item
WHERE (((tbl_furn_item.search_criteria) LIKE "*[Search string for]*"));
I know that it is my LIKE statement that is the problem, but from what i can
see it follows all the syntax that i have seen related to the LIKE statement.
Thanks for your help