Mike:
Try this before the REPLACE
MyVar = STRTRAN(MyVar,"'","")
MyVar = STRTRAN(MyVar,'"',"")
HTH,
--Paul
>I have a string variable I want to insert into a database. The variable contains both single and double quotes, and I'm having difficulty commenting out both sets of quotes. What is the proper syntax for doing so?