I am trying to insert data with name and address in a field in a SQL database.
I am passing it to a stored procedure from access 2000.
If the name has a ' in it, it fails.
e.g. John O'Neill.
I have had this problem before but cannot remember if I found a way to get it to work or had to write the query without building the SQL part.
Would greatly appreciate some help.
I am passing it to a stored procedure from access 2000.
If the name has a ' in it, it fails.
e.g. John O'Neill.
I have had this problem before but cannot remember if I found a way to get it to work or had to write the query without building the SQL part.
Would greatly appreciate some help.