timdodgson
Technical User
Hi i am trying to run a search against a access database the the field is a memo field when i run this against the field
strSQL = "SELECT * " _
& "FROM [qualtexm] " _
& "WHERE t LIKE '%" & Replace(strSearch, "", " %") & "%' " _
& "ORDER BY id;"
if i do a single word search it works ok but if i seach for two words it will only find them as a pair i just want to find any instance of them
Many Thanks in advance
Please be patient with me this is only my third week coding asp and i am using google as my teacher
Tim Dodgson
strSQL = "SELECT * " _
& "FROM [qualtexm] " _
& "WHERE t LIKE '%" & Replace(strSearch, "", " %") & "%' " _
& "ORDER BY id;"
if i do a single word search it works ok but if i seach for two words it will only find them as a pair i just want to find any instance of them
Many Thanks in advance
Please be patient with me this is only my third week coding asp and i am using google as my teacher
Tim Dodgson