I'm working on ADS71 (CDX) and this function always returns false...
db->( adsfiletoblob('file.bmp', 'field', 7) )
//'field' is image type defined in arc32
//7 means image or 6 means binary
I thought of changing table from CDX to ADT... and so.
still returns false.
I changed field type to binary... still CANT SAVE IMAGE FILE TO FIELD...
If db->( dbRLock( recno() ) )
if db->( adsfile2blob('d:\images\picture.bmp', 'MAP', 7) )
msginfo('file image saved to table')
else
msginfo('unable to save')
end
endanybody with the workaround is truly appreciated.
regards,
Frances
Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15