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

how do i remove quotes and double quotes

Status
Not open for further replies.

wheels27

MIS
Aug 26, 2002
30
US
i need to run a query to remove qoutes " and also double quote "" how do i do this
they appear on the end of some text "like this" and also "like,"this" so how iwll go about removing them i know it will probobaly be an update or delete query


thanks
nick
 
Dear wheels27,

Yes, an update query and there is a 2 fold problem to the find and replace depending on what version of Access your on. 97 doesn't have and one of cohorts here has a great one as a function in a module. 2000 has a replace function.

Tx,

m6
 
Try the replace function. The following replaces a single quote with 2 single quotes.

Dim var as string
var = Replace(var, "'", "''")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top