How would I use the following string to data from a MySQL Table:
Mark's Computer
I have tried the following and no luck:
1) I have used the escape Character (Back Slash \) followed by a single
quote (\') as documented in the MySQL Help File - No Good
2) I also tried changing the entire string into Ascii - No Good
3) I Used the MySQL escape character again '\' and typed the Ascii code
after it - No Good
VB Code:
strSQL = "SELECT * FROM MyTable WHERE ComField ='[COLOR=Red]Mark's[/COLOR]'"
Any Ideas?




Reply With Quote