Hi
I'm developing an ASP / VBscript web app that uses ADODB for db connectivity saving customer comments in to an access table using the .execute method and a prepared sql style command.
I've discovered the single quote problem where any instance of a single quote within a text / memo field needs to be duplicated.
However I'm also finding that various other customer typed characters are a problem. For example the exclamation mark, brackets and perhaps others.
I've gone over msdn and technet and I can't see any article or material about this as a standard phenomenon but it must surely be a challenge experienced by numerous people saving memo/text type form data in to access/sql tables. I thought I'd easily find a list of "problem" characters and how to deal with them or even some kind persons code excerpt for "standardizing" text/memo content so that it works in this scenario.
Have I totally missed the plot and unearthed a problem that only exisits because I'm taking the wrong approach or is there some simple/standard approach to tackling this issue.
Your suggestions would be welcomed; I'm at my wits end
Thanks
I'm developing an ASP / VBscript web app that uses ADODB for db connectivity saving customer comments in to an access table using the .execute method and a prepared sql style command.
I've discovered the single quote problem where any instance of a single quote within a text / memo field needs to be duplicated.
However I'm also finding that various other customer typed characters are a problem. For example the exclamation mark, brackets and perhaps others.
I've gone over msdn and technet and I can't see any article or material about this as a standard phenomenon but it must surely be a challenge experienced by numerous people saving memo/text type form data in to access/sql tables. I thought I'd easily find a list of "problem" characters and how to deal with them or even some kind persons code excerpt for "standardizing" text/memo content so that it works in this scenario.
Have I totally missed the plot and unearthed a problem that only exisits because I'm taking the wrong approach or is there some simple/standard approach to tackling this issue.
Your suggestions would be welcomed; I'm at my wits end
Thanks