T
Thomas Beyerlein
I have been looking for how to INSERT text with an apostrophe in it into
SQL example:
dim TEXT as string
text = "TEST'S"
INSERT INTO tbl_Test (String) VALUSES('" & TEXT & "')"
This doesn't crash my program but it give me a error and doesn't insert
the string correctly.
Does anyone know the escape char in SQL, i tried &apos, and ESCAPE '/',
with a replace(mystring, "'", "/'")
Any help would be great thanks
Tom
SQL example:
dim TEXT as string
text = "TEST'S"
INSERT INTO tbl_Test (String) VALUSES('" & TEXT & "')"
This doesn't crash my program but it give me a error and doesn't insert
the string correctly.
Does anyone know the escape char in SQL, i tried &apos, and ESCAPE '/',
with a replace(mystring, "'", "/'")
Any help would be great thanks
Tom