I am creating an SQLstring that would insert a text into a table. My problem is that the text which will be inserted includes the ' character so when I execute it I get an error message. (In my case Me.StoredString contains an ' character.)
This is the syntax I use now - how should I be doing this?
" INSERT INTO ..... VALUES ( ' " & Me.StoredString & " ' )"
Thanks for the help.
SWK
This is the syntax I use now - how should I be doing this?
" INSERT INTO ..... VALUES ( ' " & Me.StoredString & " ' )"
Thanks for the help.
SWK