Hello everyone-
I have a form which users type information into. Once then click the submit button, my VBA code creates a string from whatever inforamtion they typed in and creates an INSERT sql query. The problem is that users sometimes type in quotation mark (") into the textboxes. My problem is that when I form my SQL query and there is a quote in there it crashes since it thinks that's the end of the string. Does anyone have any idea how to insert a quotation into my database then? I've been trying to find a way to replace the quotes somehow, but have been unsuccessful. Please let me know what you think I should do, or if you need more information
Thanks
-Mark
I have a form which users type information into. Once then click the submit button, my VBA code creates a string from whatever inforamtion they typed in and creates an INSERT sql query. The problem is that users sometimes type in quotation mark (") into the textboxes. My problem is that when I form my SQL query and there is a quote in there it crashes since it thinks that's the end of the string. Does anyone have any idea how to insert a quotation into my database then? I've been trying to find a way to replace the quotes somehow, but have been unsuccessful. Please let me know what you think I should do, or if you need more information
Thanks
-Mark