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

TppDBPipeline.GetFieldValue does not support ftBlob data type

edited September 2010 in General
Hi,

The following doesn't seems to support field type of ftBlob (dtBlob in
ReportBuilder):

function TppDBPipeline.GetFieldValue(aFieldName: string): Variant;

I have a field of type ftBlob, however, the function always return ''
(empty string).

--
Best regards,
Chau Chee Yang

Comments

  • edited September 2010
    Hi Chau,

    If you are trying to retrieve BLOB information, you need to use the
    GetFieldAsStream or GetFieldAsPicture routines depending on your stored
    data.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2010
    > If you are trying to retrieve BLOB information, you need to use the

    Thanks. I am trying to retrieve the blob field value via RAP. Is
    GetFieldAsStream and GetFieldAsPicture support in RAP?


    --
    Best regards,
    Chau Chee Yang
  • edited September 2010
    Hi Chau,

    These are not natively supported in RAP. You would either need to create a
    passthru function or enhance the RAP RTTI associated with the DBPipeline
    class. See the RAP examples for how to easily create passthru functions for
    RAP.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.