TheMaskedPencil
Programmer
I need to know if it is possible to add a comma into a database field, that is from a string variable. Here is an example.
strString = "Here, there and everywhere."
"INSERT INTO table ([Field]) VALUES ('" & strString & "')"
Every time I run, I get an error message, the comma acts as a seperator, like when you are inserting multiple values. Is there anyway to fix it, or will I have to reformat the string and replace the comma with a different character, before I can save it to the database(Access 2000)
Please tell me there is a simple anwser.
strString = "Here, there and everywhere."
"INSERT INTO table ([Field]) VALUES ('" & strString & "')"
Every time I run, I get an error message, the comma acts as a seperator, like when you are inserting multiple values. Is there anyway to fix it, or will I have to reformat the string and replace the comma with a different character, before I can save it to the database(Access 2000)
Please tell me there is a simple anwser.