D
Daniel Pineault
I built an SQL statement the I then execute. The problem being that some
info within it contain special caharacter and thus generates errors. How can
I get around this?
sSQL ="UPDATE tbl_clients " & _
"SET [Hist ID]='" & rs![Hist ID] & _
"', [Lead ID]='" & rs![Lead ID] & "', [Hist Date]=#" & rs![Hist
Date] & _
"#, Source='" & rs![Source] & "'"
For illustrative purposes, rs![Source] equals "you're". The apostrophe seem
generate an error.
Thank you,
Daniel Pineault
info within it contain special caharacter and thus generates errors. How can
I get around this?
sSQL ="UPDATE tbl_clients " & _
"SET [Hist ID]='" & rs![Hist ID] & _
"', [Lead ID]='" & rs![Lead ID] & "', [Hist Date]=#" & rs![Hist
Date] & _
"#, Source='" & rs![Source] & "'"
For illustrative purposes, rs![Source] equals "you're". The apostrophe seem
generate an error.
Thank you,
Daniel Pineault