Home Datapipelines
New Blog Posts: Merging Reports - Part 1 and Part 2

dtBLOB Access

edited July 2005 in Datapipelines
TppField does not appear to have a AsBlob property to access a BLOB as a
TMemoryStream.

What is the best way to extract a binary BLOB [huge] into a TMemoryStream
from a DBpipeline inside of a "RecordPositionChange" event. I need to
extract this BLOB from the Master record, so I can parse it and make it
available in the Detail pipeline.

It seems ppFields has AsString, AsDouble, AsPicture, Variant, GUID, but no
AsMemory

Phil

Comments

  • edited July 2005
    Found it. Seems only available thru the DBPipeline, and not the ppFIeld
    list.
  • edited July 2005

    Correct, there is a DataPipeline.GetFieldAsStream method

    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.