Hi All-
I have a form where the user enters a string into a text box. The string may contain apostrophes, quote marks and other punctuation. I then insert it into a larger SQL string to insert it into a table. It works fine when there is no punctuation, but add a quote or an apostrophe and the whole thing crashes. Is there a way to enter anything entered into the text box and have it come out as a formatted string?
Thanks
Andy
I have a form where the user enters a string into a text box. The string may contain apostrophes, quote marks and other punctuation. I then insert it into a larger SQL string to insert it into a table. It works fine when there is no punctuation, but add a quote or an apostrophe and the whole thing crashes. Is there a way to enter anything entered into the text box and have it come out as a formatted string?
Thanks
Andy