Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting Strings into Database in Netscape

Status
Not open for further replies.

tempoman

Programmer
May 9, 2000
41
AU
I am tryting to enter in values into the database that contain "'" for example the name: Paul O'Keefe gives me an error:

ODBC Error Code = 37000 (Syntax error or access violation)

[Microsoft][ODBC Microsoft Access 97 Driver] Syntax error (missing operator) in query expression
''HEATH JK, Southby J, Fukumoto S, O'Keeffe LM'.

The error occurred while processing an element with a general identifier of (CFQUERY), occupying
document position (166:2) to (166:50).

How can I prevent Netscape to take the "'" as being the end of the string? I have tried URLEncodedFormat but it inserts %20 for spaces and other characters.

Thanx for any help [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top