Good morning.
I am using the TAdvMemo to store some information about a file, and saving the result to a database as a blob. I first copy the memo into a stream using the function
ms := TMemoryStream.Create;
ms.Position := 0;
amMergeList.SaveToRTFStream(ms,false);
ms.Position := 0;
TBlobField(ADOQry.FieldByName('DocMrgFlds')).LoadFromStream(ms);
ms.Free;
Seems to be working, but I do not find a complimentary function of LoadFromRTFStream. While I can get it back from the database into a memory stream, how do I reload the table with the data?
Thanks.