4 messages in com.mysql.lists.win32Re[2]: Strange problem
FromSent OnAttachments
Greg Quinn06 Feb 2004 01:10 
Greg Quinn06 Feb 2004 01:38 
Andrew06 Feb 2004 01:49 
Andrew06 Feb 2004 02:32 
Subject:Re[2]: Strange problem
From:Andrew (and@itime.ru)
Date:02/06/2004 01:49:24 AM
List:com.mysql.lists.win32

Hello Greg,

Friday, February 06, 2004, 2:38:27 PM, you wrote:

GQ> messageSource = Replace(messageSource, "'", "\'") GQ> messageSource = Replace(messageSource, Chr(34), "\" & Chr(34))

GQ> But when I only escape the messagesource from a \ to a \\ GQ> messageSource = Replace(messageSource, "\", "\\") ^^^ If you do those replaces in this order, you'll get invalid result. You replace ' => \' and then \' => \\'.

I think it's error in your code. Try to print(log) sql-query before executing and may be it helps you.