J
John Webb via AccessMonster.com
Afraid I don't know the answer to your query, but I thought I would point
out another possible problem. What if the persons surname is something
like O'Shea.
Try the following code, should correct your problem and make sure names
with apostrophes don't mess you about:
***CODE BEGINS***
Dim strSQL as string
strSQL = "CustomerName LIKE " & chr(34) & Me.TextBox & chr(34)
Me.RecordsetClone.FindFirst strSQL
***CODE ENDS***
UNTESTED, but I think it should work
Cheers
John Webb
out another possible problem. What if the persons surname is something
like O'Shea.
Try the following code, should correct your problem and make sure names
with apostrophes don't mess you about:
***CODE BEGINS***
Dim strSQL as string
strSQL = "CustomerName LIKE " & chr(34) & Me.TextBox & chr(34)
Me.RecordsetClone.FindFirst strSQL
***CODE ENDS***
UNTESTED, but I think it should work
Cheers
John Webb