jrga wrote:I have a table with 4 thousand records filled with culinary recipes, which are in a memo field. I copied the memo field to another field, for editing with RTF control, but the text was left without a line break. I would like to maintain the same paragraph structure in the RTF as the text field. Can anyone help?
Hi,
As an option, store text in RTF format in the database.
This will allow you to save formatting, fonts... and save pictures. Of course, small icons are better.
Example below
OR
use script to load (form2.RichEdit1.Text ) into RichEdit
form2.RichEdit1.Text := SQLExecute('select txt FROM dd where id=2');
P.S. But the first time you save the text, it will be saved in the database in RTF format.
Post's attachments RichEdit.zip 9.55 kb, 45 downloads since 2023-11-09