I am trying to use the RichText control to save and load formatted text to a longtext field in a database (MySQL).
I seem to be able to save the text correctly using richtextbox1.textrtf (ie it looks like rtf text in the field when I view it generically)
ie:
db.execute "Insert into notices (Notice) values ('" & richtextbox1.textrtf & "'")
However when I read it back into a RichText control, I get the literal characters rather then the formatted text.
richtextbox1.textrtf = rs![notice]
Does anybody have any ideas how to resolve this or experience of using RichText controols in this way.
Cheers
Alan
I seem to be able to save the text correctly using richtextbox1.textrtf (ie it looks like rtf text in the field when I view it generically)
ie:
db.execute "Insert into notices (Notice) values ('" & richtextbox1.textrtf & "'")
However when I read it back into a RichText control, I get the literal characters rather then the formatted text.
richtextbox1.textrtf = rs![notice]
Does anybody have any ideas how to resolve this or experience of using RichText controols in this way.
Cheers
Alan