note also that as text185 is text, the nz result must also be text, rather than zero as you had.
in fact maybe you ought to test for a valid string
Code:
if nz(text185,"")="" then
msgbox("No search string")
exit sub
else
[B] rs.FindFirst "[Surname] = " & chr(34) & [Text185] & chr(34)[/B]
[B] etc[/B]
end if