Test if a string is plain text or rtf

  • Thread starter Thread starter AndyNakamura
  • Start date Start date
A

AndyNakamura

Guest
I currently store some plain text in a database field to be displayed in a multiline textbox in a vb front end.
I want to change the textbox to a richtextbox so I can implement some sort of formatting.
This would mean storing the rtf in the database.

As I already have a considerable amount of text stored in the database so I want to keep using that data.

2 questions.

1. Is there going to be a problem storing rtf code in an Access 'Long Text' datatype? There are a lot of braces etc in there.

2. How can I detect whether the string returned from the database is rtf or plain so that I can do the appropriate action to display in the richtextbox.

Cheers

Andy

Continue reading...
 
Back
Top