Trouble with Data entry with the name starting with O'B...

  • Thread starter Thread starter Rocky
  • Start date Start date
R

Rocky

Don't know where to look, but had this problem before. With names like
"O'Brien"? Getting a Syntax error #3077 ( Access database seems like it
doesn't like the apostrophe character ('). Any solution to this problem?
 
Don't know where to look, but had this problem before. With names like
"O'Brien"? Getting a Syntax error #3077 ( Access database seems like it
doesn't like the apostrophe character ('). Any solution to this problem?

Use " as a delimiter in your query (which you dodn't choose to post...)
instead of '; or use Replace([namefield], "'", "''") to replace all
apostrophes with two consecutive apostrophes prior to inserting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top