Here is the sql statement.
Set rs2 = db.OpenRecordset("select * from Names where InStr(descriptions" +
"+" + """" + "|" + """" + "," + """" + asearchkey + """" + ") > 0")
this searches a recorset and returns all the names that have asearchkey
somewhere in their description
so if "hello" is in "this is a hello test" will be returned
but this fails - "the item is 3" tall" fails becaus of the quote
How can I successfully search this field when their are quotes but leave the
database as is so I dont have to get rid of the quotes before I do the query
I dont want to do that.
what about the ' character too, I didnt test that.
Thanks