05-21-2007 01:06 PM
05-22-2007 03:34 PM
Hi Rob,
You are on the right path. If you typed the the string directly into the Connection String, it would need to be typed with the escape characters, as such:
05-22-2007 03:52 PM
Thanks for the response, Matt. I was able to get this to work by stripping off the first two backslashes using the Right() method. It still seems strange to me that the message displayed three backslashes at the beginning... If the variable automatically dealt with the escape sequences, and then the DB properly handles double-backslash escapes as well, I'd think that it may still fail, but due to a single backslash - not a triple backslash. Ah well... It works. 🙂