Double apostrophes...
strInsert = "Insert into names (Client) VALUES ('Art''s Market');
I use this routine in all of my apps where I use an actual SQL command
to INSERT.
Public Function sWrap(Value As String) As String
sWrap = "'" & Replace(Value, "'", "''") & "'"
End Function
Bookreader - 30 Jan 2006 20:08 GMT
>Double apostrophes...
>
[quoted text clipped - 6 lines]
> sWrap = "'" & Replace(Value, "'", "''") & "'"
> End Function
Cool.
Thanks