G
Guest
My code is crashing on the following line
rs.FindFirst "LastName='" & Ary(4) & "'"
I get an syntax error, missing operator in expression - error.
Turns out the value is O'brien, It treats ' as the end of the string and
says the rest of it is garbage. Is there a way to escape it with the replace
function.
Thanks for any help.
-- 'If it looks like your going to bite it, try not to ruin the shoot' -
stuntman credo
rs.FindFirst "LastName='" & Ary(4) & "'"
I get an syntax error, missing operator in expression - error.
Turns out the value is O'brien, It treats ' as the end of the string and
says the rest of it is garbage. Is there a way to escape it with the replace
function.
Thanks for any help.
-- 'If it looks like your going to bite it, try not to ruin the shoot' -
stuntman credo