I'm trying to use the COPYSTREAM function to copy a BLOB from one field to another. I know that the source field is indeed populated in each case, but each time I use COPYSTREAM I get the following error message:
"You cannot stream an empty BLOB ()."
Here's the code in question:
// My source field.
ExcelBuf."Actual Body".CREATEINSTREAM(GroupInStream);
// My destination field.
MasterGroup."Actual Text".CREATEOUTSTREAM(GroupOutStream);
COPYSTREAM(GroupOutStream,GroupInStream);
Any help on this would be greatly appreciated.
Thanks,
Matthew
Answers
Not 100% sure but if I remember correctly you have to do this to "see" the contents of the blob...
I did a CALCFIELDS on my field and I was able to use COPYSTREAM to move my BLOB data from field to another.
Thanks,
Matthew