A
Adam Maltby
Hi,
In vb.net I am try to save an rtf field to a database field using an sql string:
GetSQL = "UPDATE TestsConfig " & _
"SET ReadMe = '" & Rtxt_readme.Rtf & "' "
"WHERE Type = '" & TestSelected & "'"
I seem to be hitting a probelm when writing the rtf to the db column.
During the write to the database it picks up some of the single quotes used by the rtf formatting and seems to be incorrectly assuming they are an end of string (since when writing a string back to a column in a DB it uses single quotes to mark out the string to write).
Any ideas how I can get round this?
Cheers
Adam
In vb.net I am try to save an rtf field to a database field using an sql string:
GetSQL = "UPDATE TestsConfig " & _
"SET ReadMe = '" & Rtxt_readme.Rtf & "' "
"WHERE Type = '" & TestSelected & "'"
I seem to be hitting a probelm when writing the rtf to the db column.
During the write to the database it picks up some of the single quotes used by the rtf formatting and seems to be incorrectly assuming they are an end of string (since when writing a string back to a column in a DB it uses single quotes to mark out the string to write).
Any ideas how I can get round this?
Cheers
Adam