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 1:26PM
    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