- Offizieller Beitrag
The best is to use the TWPRichText with the AsString property:
Code:
Field.AsString := WPRichText1.AsANSIString('RTF-nobinary');
WPRichText1.AsString := Field.AsString;
Of course the DBWPRichText can be used, too, but it will likely post the data more often that if you do it manually and is so discouraged with client server systems.
You can attach a TWPRichText to a database if you use the OnPost and OnScroll events of the database.
Please note: If you are using the TDBWPRichText it is required for some databases to set the property TextSaveFormat to 'RTF-nobinary'. (Also see http://wpcubed.com/forum/viewtopic.php?t=355 )