>>Borislav,
>>
>>Here is the line of code producing an error
>>
>>cFileName = cDestDir + ALLTRIM(Images.ImageCode) + ".png" with the strtofile
>>
>>
>>Where Images.ImageCode is the
BLOB field. (or General field)
>
>No, the code that produce error is STRTOFILE() with General field.
>Sergey was too fast (as always) ;-)
I know, but this was the preceeding line. I don't understand how this works if blob or general contains the actual image.
Actually, I now see that ImageCode must contain the file name and ImageFile is the actual field with the image (blob).
I misread it myself.
If it's not broken, fix it until it is.
My Blog