P
Paul M
Hi
I need help to refine my search please
For instance I can search for "sea" and it return "seaside" which is good,
but I can search for "man" and it will return "woman" which is not good. I
only wish it to wildcard the end of the word not the beginning.
Thankyou
Paul M
Here is my sql
strSQL = "SELECT image_number, image_name, image_desc " _
& "FROM tblimages " _
& "WHERE image_desc LIKE '%" & Replace(strSearch, "'", "''") & "%' " _
& "OR image_name LIKE '%" & Replace(strSearch, "'", "''") & "%' " _
& "OR image_number LIKE '" & Replace(strSearch, "'", "''") & "' " _
& "ORDER BY image_number DESC;"
I need help to refine my search please
For instance I can search for "sea" and it return "seaside" which is good,
but I can search for "man" and it will return "woman" which is not good. I
only wish it to wildcard the end of the word not the beginning.
Thankyou
Paul M
Here is my sql
strSQL = "SELECT image_number, image_name, image_desc " _
& "FROM tblimages " _
& "WHERE image_desc LIKE '%" & Replace(strSearch, "'", "''") & "%' " _
& "OR image_name LIKE '%" & Replace(strSearch, "'", "''") & "%' " _
& "OR image_number LIKE '" & Replace(strSearch, "'", "''") & "' " _
& "ORDER BY image_number DESC;"