le mparole apostrofate non vanno daccordo con sql raddoppia l'apostrofo

codice:
if instr(text1.text, "'")>0 then
    text1.text = replace(text1,"'","''")
end if