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

Get Data from Blob field

edited January 2004 in General
I have a Blob field in my database. It can contain text, images, videos and
sound. Is it possible to get the data (text and image) from the field and
display it in a report?

--

Mit freundlichen Gr??en
Sven Langenkamp

Tel.: +49 (0) 50 21 / 97 24 -15
Email: langenkamp@ctdatentechnik.de

===============================
CT Datentechnik Gesellschaft
f?r Prozessrechentechnik mbH
Eschenstr. 2 - 31582 Nienburg
Tel.: +49 (0) 50 21 / 97 24 -0
Fax: +49 (0) 50 21 / 97 24 -18
Email: info@ctdatentechnik.de
Internet: www.ctdatentechnik.de
===============================

Comments

  • edited January 2004
    Hello,

    Yes you should be able to place images from a blob field on your report by
    simply setting a DBImage to point to that field. For text you may need to
    stream the blob field and call the Delphi method ObjectBinaryToText on it.
    This will conver the binary blob information to asci text that can then be
    viewed in a TppLabel or TppVariable.

    --
    Best Regards,

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