LoadFromBlobField

Hi,

In 2.5 LoadFromBlobfield was available, it isn't in anymore in 3.0. Am I supposed to write myself the blob to stream function or is it forgotten by accident?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 5:36AM
    create a memory stream save to stream then assign the stream to the blob
    field.
    stream := TMemoryStream.Create;
    TfrxReport.SaveToStream(stream);
    stream.Position := 0;
    (dataset.fieldByName('my_blob') as TBlobField).LoadFromStream(stream);

    reverse the process for loading
    ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.