I wanted to have a look at your new TDBAdvRichEditor today so I hooked one up to an Aurelius blob field and tried to save some text but it saved "TPF0TStateSaver" instead of my text then give me "Argument out of range." when I came to open the table again. Is there something obvious I am doing wrong? I just dropped the component on the form and set the datasource and field name. It works fine if I save/load to a TDBmemo.
The data persisted from a TDBAdvRichEditor represents the formatted text in binary format. You can consider it as a collection of objects. The first object in the stream is a TStateSaver object, but many other objects are added after this in the stream. If TDBAdvRichEditor loads this persisted stream again, the formatted text should appear but of course, this formatted text will be unreadable from another control that can only handle plain text.
HI Bruno,
A test to see if your DB isn't messing with the stream could be to do a DBAdvRichEditor.SaveToStream and then also read the blob data back from the DB field as stream and compare these two streams. They should be identical. If not, I can only suspect the DB can't handle specific values in the stream. Notice that this is a binary stream, so if your DB has a restriction with respect to accepted chars in the blob, that could be an issue.