"0x" + STRTOHEX( MEMOREAD( ... ) )Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
"0x" + STRTOHEX( MEMOREAD( ... ) )Still, we advise you to adopt the approach and syntax advised by us in our samples above. They are safe and work with any database. You will not be wasting your time in searching for solutions like this.
Thanks Rao, that seemed to solve the problem. If I run in to any issues, I will contact you.
Hi,
Is it the same with DOCX or XLSX or PDF ?
What is the instruction to read the file saved in a sql table and display it with WORD or Excel or PDF Viewer ?
Should we read from the blob field, save it to the disk with MEMOWRITE or FWRITE and the open the files ?
Thanks for your help .
Philippe .
// xharbour
MEMOWRIT( cFilename, oRs:Fields( "fieldname" ):Value, .f. ) // ADO
//or
MEMOWRIT( cFileName, oRs:fieldname, .f. ) // FWMARIADB library
// or both harbour and xharbour
HB_MEMOWRIT( cFileName, oRs:Fields( "fieldname" ):Value ) // ADO
// OR
HB_MEMOWRIT( cFileName, oRs:FieldName )