trichview.com

trichview.support




Re: how to save content automaticaly?


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/03/2005 9:47:56


I recommend to use Add*** methods in editors only when creating new

documents.

If you want to modify document, use methods introduced in

TCustomRichViewEdit instead (such as Insert*** methods). Mixing both types

of methods may make data in undo buffer incorrect.


As for your question, please read the Example 1 in the help topic about

TDBRichViewEdit.


Briefly,


table.Edit;

dbrve.AddNL('some string',0,0);

dbrve.Change;

table.Post;


>

> I use DBRichViewEdit,when I insert some text using AddNL('some

string',0,0);

> format; I cannot save content into database.

>

> How can I do to save content to database ???





Powered by ABC Amber Outlook Express Converter