The results of a soundex search to be sorted so that exact matches (or partial matches at the start of the string) were at the start of the list, so I added an expression in the order by clause.
select
personlastnamefrom
viewpersonsearchwhere
soundex(personlastname) = soundex('knapp')order
by case when personlastname like 'knapp%' then 0 else 1 end,personlastname
Thank you! Thank you! I just finished reading this document, which was part of a link in the recent Buzz newsletter. I have printed it for others to read, especially those skeptical on the powers of Access and its capabilities.
Darren D.
All Our Microsoft Access Products