>But other member how do it if the searchString is variable? If you are going to permit end users to choose/enter search strings, you have to pass them to Valentina.escapeString() before using them in a SELECT statement (you can't be sure they will properly escape "reserved" characters, like the apostrophe, or backslash - if you're using RegEx) -Sean.