newText=reReplaceNoCase(orgText,"?|?|?|?|?|?","a","ALL");
newText=reReplaceNoCase(newText,"?|?|?|?","e","ALL");
newText=reReplaceNoCase(newText,"?|?|?|?","i","ALL");
newText=reReplaceNoCase(newText,"?","n","ALL");
newText=reReplaceNoCase(newText,"?|?|?|?|?","o","ALL");
newText=reReplaceNoCase(newText,"?|?|?|?","u","ALL");
.
.
.
etc.......
<cfscript>
function deAccent(orgText) {
var newText=reReplaceNoCase(arguments.orgText,"?|?|?|?|?|?","a","ALL");
newText=reReplaceNoCase(newText,"?|?|?|?","e","ALL");
newText=reReplaceNoCase(newText,"?|?|?|?","i","ALL");
newText=reReplaceNoCase(newText,"?","n","ALL");
newText=reReplaceNoCase(newText,"?|?|?|?|?","o","ALL");
newText=reReplaceNoCase(newText,"?|?|?|?","u","ALL");
// don't forget the other chars
return newText;
}
</cfscript>
<cfquery name="search" datasource="someDSN">
SELECT *
FROM someTable
WHERE fname LIKE '%#deAccent(form.serachText)#%'.
</cfquery>
so what exactly is the issue?