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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot insert values with single quote and double quote in it

Status
Not open for further replies.

freiddann

MIS
Sep 9, 2003
2
PH
Hi!


I'm using ADO in VB and I'm having problems on inserting into tables field values with double quote and single quote in it...

these statements were ok:
insert into table1 (Field1) Values ("With Single (') Qoute")
insert into table1 (Field1) Values ('With Double (") Qoute')

now these are some problems:
insert into table1 (Field1) Values ('With both single and (')(")double quote')

insert into table1 (Field1) Values ("With both single and (')(")double quote")

can somebody help...
thanks...
 
Freiddann,

read my answer to your other posting.

Bye

Qatqat

Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top