Ian,
It could be that you are "over-expecting" the ability of Soundex to find matches. If you look at my sample in post 4, you'll see there is quite a range of what is returned - probably more than expected. On the other side of the results, I had to input more than expected to get a result.
eg to find Catherine, I had to supply "Cather" before I got a result.
If you want to increase the probability of finding records, I would suggest adding additional criteria.
For example, if you want Surnames starting with "S" , you could keep the current soundex and add
OR Surname Like "S"& "*".
In your sample it would be along the lines of (this is just pseudo code for concept)
Code:
soundex(baptism.surname) = soundex(your form textbox) Or baptism.surname like & your form textbox & "*"
You may want to look at a couple of search examples I added (these deal with partial string matching)
https://www.accessforums.net/showthread.php?t=43055
https://www.accessforums.net/showthread.php?t=49804
Good luck.
UPDATE:
I modified my form to also display the matching records count. I used your tbl_Baptism and Tbl_place.
Attached is a jpg showing the number of records matching a single "s". 81 records.
Then using "se", the result set was reduced to 16 records.
Also, I don't use macros. Your output/results with the links seems very nice to open the detail record(s).
My sql for the query is based on yours. I just separated the soundex( of the text1 control) to resolve a syntax issue I had.
Code:
Dim SQL As String
20 mparm = Soundex(Me.Text1)
30 SQL = "SELECT tbl_Baptism.BaptismID, tbl_Place.Place, tbl_Baptism.FicheNo, tbl_Baptism.BirthDate," _
& " tbl_Baptism.DateOfBaptism, tbl_Baptism.YearOfBaptism, tbl_Baptism.ChildsName, tbl_Baptism.Surname," _
& " tbl_Baptism.Sex, tbl_Baptism.Parents, tbl_Baptism.Abode, tbl_Baptism.Occupation, tbl_Baptism.Church," _
& " tbl_Baptism.RefNo, tbl_Baptism.PageNo, tbl_Baptism.EntryNo, tbl_Baptism.Minister, " _
& " tbl_Baptism.FullDateOfBaptism " _
& " FROM tbl_Place INNER JOIN tbl_Baptism ON tbl_Place.ID = tbl_Baptism.[fk_PlaceId] " _
& " WHERE soundex([surname])= '" & mparm & "' OR Surname Like '*" & Me.Text1 & "*'" _
& " ORDER BY tbl_Baptism.FullDateOfBaptism;"