J
Joe
Hi,
I need to write a query with a string field in the WHERE
clause. I am running into problems when the value in the field
contains a quotation mark. For example: "Men's Wear"
sWhereClause = "[NAICS]='" & cboTitle.Value & "'"
can anyone tell me how to write my WHERE clause so that the query
doesn't choke on string values that contain a quote mark (apostrophe)?
Thanks,
J
I need to write a query with a string field in the WHERE
clause. I am running into problems when the value in the field
contains a quotation mark. For example: "Men's Wear"
sWhereClause = "[NAICS]='" & cboTitle.Value & "'"
can anyone tell me how to write my WHERE clause so that the query
doesn't choke on string values that contain a quote mark (apostrophe)?
Thanks,
J