TppDBPipeline.GetFieldValue does not support ftBlob data type
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks. I am trying to retrieve the blob field value via RAP. Is
GetFieldAsStream and GetFieldAsPicture support in RAP?
--
Best regards,
Chau Chee Yang
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com