The user would enter a first and last name or just one of the two, and the query would return records with a score of how close the fname and lname matched. <br>
<br>
If there is an exact match of first name and last name then the score would be 100%, if only first name or only last name then 50%, if the first or last name is approximately (a possible typo or misspell) then it would be give extra points and a higher score.<br>
<br>
Example:<br>
user entered: Ed Collins<br>
<br>
If there was a Ed Collins then I know how to find the exact record.<br>
<br>
if there wasn't an Ed Collins, then it would score the following names:<br>
Edward Collins = 75%<br>
Edward Smith = 25%<br>
Ed Collinsworth = 75%<br>
<br>
etc, <br>
<br>
this is so that you can enter a piece of someone's name or misspell it and still get a few records are are about (about is the command for this in oracle and there is a similar command in sql server, i believe).<br>